|
1 | 1 | BEGIN;
|
2 | 2 | -- Schema
|
3 |
| -ALTER TABLE "eas-sepolia"."Schema" ADD COLUMN "time_new" INTEGER; |
4 |
| -UPDATE "eas-sepolia"."Schema" SET "time_new" = CAST("time" AS integer); |
5 |
| -ALTER TABLE "eas-sepolia"."Schema" DROP COLUMN "time"; |
6 |
| -ALTER TABLE "eas-sepolia"."Schema" RENAME COLUMN "time_new" TO "time"; |
| 3 | +ALTER TABLE "eeas-rootstock-testnet"."Schema" ADD COLUMN "time_new" INTEGER; |
| 4 | +UPDATE "eeas-rootstock-testnet"."Schema" SET "time_new" = CAST("time" AS integer); |
| 5 | +ALTER TABLE "eeas-rootstock-testnet"."Schema" DROP COLUMN "time"; |
| 6 | +ALTER TABLE "eeas-rootstock-testnet"."Schema" RENAME COLUMN "time_new" TO "time"; |
7 | 7 |
|
8 | 8 | -- Attestation
|
9 |
| -ALTER TABLE "eas-sepolia"."Attestation" ADD COLUMN "time_new" INTEGER; |
10 |
| -UPDATE "eas-sepolia"."Attestation" SET "time_new" = CAST("time" AS integer); |
11 |
| -ALTER TABLE "eas-sepolia"."Attestation" DROP COLUMN "time"; |
12 |
| -ALTER TABLE "eas-sepolia"."Attestation" RENAME COLUMN "time_new" TO "time"; |
| 9 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" ADD COLUMN "time_new" INTEGER; |
| 10 | +UPDATE "eeas-rootstock-testnet"."Attestation" SET "time_new" = CAST("time" AS integer); |
| 11 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" DROP COLUMN "time"; |
| 12 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" RENAME COLUMN "time_new" TO "time"; |
13 | 13 |
|
14 |
| -ALTER TABLE "eas-sepolia"."Attestation" ADD COLUMN "timeCreated_new" INTEGER; |
15 |
| -UPDATE "eas-sepolia"."Attestation" SET "timeCreated_new" = CAST("timeCreated" AS integer); |
16 |
| -ALTER TABLE "eas-sepolia"."Attestation" DROP COLUMN "timeCreated"; |
17 |
| -ALTER TABLE "eas-sepolia"."Attestation" RENAME COLUMN "timeCreated_new" TO "timeCreated"; |
| 14 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" ADD COLUMN "timeCreated_new" INTEGER; |
| 15 | +UPDATE "eeas-rootstock-testnet"."Attestation" SET "timeCreated_new" = CAST("timeCreated" AS integer); |
| 16 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" DROP COLUMN "timeCreated"; |
| 17 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" RENAME COLUMN "timeCreated_new" TO "timeCreated"; |
18 | 18 |
|
19 |
| -ALTER TABLE "eas-sepolia"."Attestation" ADD COLUMN "expirationTime_new" INTEGER; |
20 |
| -UPDATE "eas-sepolia"."Attestation" SET "expirationTime_new" = CAST("expirationTime" AS integer); |
21 |
| -ALTER TABLE "eas-sepolia"."Attestation" DROP COLUMN "expirationTime"; |
22 |
| -ALTER TABLE "eas-sepolia"."Attestation" RENAME COLUMN "expirationTime_new" TO "expirationTime"; |
| 19 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" ADD COLUMN "expirationTime_new" INTEGER; |
| 20 | +UPDATE "eeas-rootstock-testnet"."Attestation" SET "expirationTime_new" = CAST("expirationTime" AS integer); |
| 21 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" DROP COLUMN "expirationTime"; |
| 22 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" RENAME COLUMN "expirationTime_new" TO "expirationTime"; |
23 | 23 |
|
24 |
| -ALTER TABLE "eas-sepolia"."Attestation" ADD COLUMN "revocationTime_new" INTEGER; |
25 |
| -UPDATE "eas-sepolia"."Attestation" SET "revocationTime_new" = CAST("revocationTime" AS integer); |
26 |
| -ALTER TABLE "eas-sepolia"."Attestation" DROP COLUMN "revocationTime"; |
27 |
| -ALTER TABLE "eas-sepolia"."Attestation" RENAME COLUMN "revocationTime_new" TO "revocationTime"; |
| 24 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" ADD COLUMN "revocationTime_new" INTEGER; |
| 25 | +UPDATE "eeas-rootstock-testnet"."Attestation" SET "revocationTime_new" = CAST("revocationTime" AS integer); |
| 26 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" DROP COLUMN "revocationTime"; |
| 27 | +ALTER TABLE "eeas-rootstock-testnet"."Attestation" RENAME COLUMN "revocationTime_new" TO "revocationTime"; |
28 | 28 |
|
29 | 29 | -- SchemaName
|
30 |
| -ALTER TABLE "eas-sepolia"."SchemaName" ADD COLUMN "time_new" INTEGER; |
31 |
| -UPDATE "eas-sepolia"."SchemaName" SET "time_new" = CAST("time" AS integer); |
32 |
| -ALTER TABLE "eas-sepolia"."SchemaName" DROP COLUMN "time"; |
33 |
| -ALTER TABLE "eas-sepolia"."SchemaName" RENAME COLUMN "time_new" TO "time"; |
| 30 | +ALTER TABLE "eeas-rootstock-testnet"."SchemaName" ADD COLUMN "time_new" INTEGER; |
| 31 | +UPDATE "eeas-rootstock-testnet"."SchemaName" SET "time_new" = CAST("time" AS integer); |
| 32 | +ALTER TABLE "eeas-rootstock-testnet"."SchemaName" DROP COLUMN "time"; |
| 33 | +ALTER TABLE "eeas-rootstock-testnet"."SchemaName" RENAME COLUMN "time_new" TO "time"; |
34 | 34 |
|
35 | 35 | COMMIT;
|
0 commit comments