-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from shawakash/go2
chore: change the txn table attributes to hold Txn Type present in @paybox/mote
- Loading branch information
Showing
39 changed files
with
638 additions
and
1,297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...ions/default/1709811647893_alter_table_public_transactions_drop_column_blockTime/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
comment on column "public"."transactions"."blockTime" is E'transactions table '; | ||
alter table "public"."transactions" add constraint "transactions_block_time_key" unique (blockTime); | ||
alter table "public"."transactions" alter column "blockTime" drop not null; | ||
alter table "public"."transactions" add column "blockTime" int8; |
1 change: 1 addition & 0 deletions
1
...ations/default/1709811647893_alter_table_public_transactions_drop_column_blockTime/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" drop column "blockTime" cascade; |
3 changes: 3 additions & 0 deletions
3
...ns/default/1709811674183_alter_table_public_transactions_drop_column_preBalances/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
comment on column "public"."transactions"."preBalances" is E'transactions table '; | ||
alter table "public"."transactions" alter column "preBalances" drop not null; | ||
alter table "public"."transactions" add column "preBalances" jsonb; |
1 change: 1 addition & 0 deletions
1
...ions/default/1709811674183_alter_table_public_transactions_drop_column_preBalances/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" drop column "preBalances" cascade; |
3 changes: 3 additions & 0 deletions
3
...s/default/1709811686850_alter_table_public_transactions_drop_column_postBalances/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
comment on column "public"."transactions"."postBalances" is E'transactions table '; | ||
alter table "public"."transactions" alter column "postBalances" drop not null; | ||
alter table "public"."transactions" add column "postBalances" jsonb; |
1 change: 1 addition & 0 deletions
1
...ons/default/1709811686850_alter_table_public_transactions_drop_column_postBalances/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" drop column "postBalances" cascade; |
1 change: 1 addition & 0 deletions
1
...fault/1709811704205_alter_table_public_transactions_alter_column_recentBlockhash/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" rename column "blockHash" to "recentBlockhash"; |
1 change: 1 addition & 0 deletions
1
...default/1709811704205_alter_table_public_transactions_alter_column_recentBlockhash/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" rename column "recentBlockhash" to "blockHash"; |
3 changes: 3 additions & 0 deletions
3
...ions/default/1709811712397_alter_table_public_transactions_drop_column_signature/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
comment on column "public"."transactions"."signature" is E'transactions table '; | ||
alter table "public"."transactions" alter column "signature" drop not null; | ||
alter table "public"."transactions" add column "signature" jsonb; |
1 change: 1 addition & 0 deletions
1
...ations/default/1709811712397_alter_table_public_transactions_drop_column_signature/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" drop column "signature" cascade; |
1 change: 1 addition & 0 deletions
1
...grations/default/1709811745810_alter_table_public_transactions_alter_column_hash/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" alter column "hash" drop not null; |
1 change: 1 addition & 0 deletions
1
...migrations/default/1709811745810_alter_table_public_transactions_alter_column_hash/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" alter column "hash" set not null; |
5 changes: 5 additions & 0 deletions
5
...sura/hasura/migrations/default/1709811810826_set_fk_public_transactions_clientId/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
alter table "public"."transactions" drop constraint "transactions_clientId_fkey", | ||
add constraint "transactions_client_id_fkey" | ||
foreign key ("clientId") | ||
references "public"."client" | ||
("id") on update restrict on delete restrict; |
5 changes: 5 additions & 0 deletions
5
...hasura/hasura/migrations/default/1709811810826_set_fk_public_transactions_clientId/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
alter table "public"."transactions" drop constraint "transactions_client_id_fkey", | ||
add constraint "transactions_clientId_fkey" | ||
foreign key ("clientId") | ||
references "public"."client" | ||
("id") on update restrict on delete restrict; |
1 change: 1 addition & 0 deletions
1
...grations/default/1709811839113_alter_table_public_transactions_alter_column_hash/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" drop constraint "transactions_hash_key"; |
1 change: 1 addition & 0 deletions
1
...migrations/default/1709811839113_alter_table_public_transactions_alter_column_hash/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" add constraint "transactions_hash_key" unique ("hash"); |
3 changes: 3 additions & 0 deletions
3
...grations/default/1709811998056_alter_table_public_transactions_drop_column_nonce/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
comment on column "public"."transactions"."nonce" is E'transactions table '; | ||
alter table "public"."transactions" alter column "nonce" drop not null; | ||
alter table "public"."transactions" add column "nonce" int4; |
1 change: 1 addition & 0 deletions
1
...migrations/default/1709811998056_alter_table_public_transactions_drop_column_nonce/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" drop column "nonce" cascade; |
4 changes: 4 additions & 0 deletions
4
...igrations/default/1709814059944_alter_table_public_transactions_add_column_nonce/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- Could not auto-generate a down migration. | ||
-- Please write an appropriate down migration for the SQL below: | ||
-- alter table "public"."transactions" add column "nonce" bigint | ||
-- null; |
2 changes: 2 additions & 0 deletions
2
.../migrations/default/1709814059944_alter_table_public_transactions_add_column_nonce/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
alter table "public"."transactions" add column "nonce" bigint | ||
null; |
3 changes: 3 additions & 0 deletions
3
...grations/default/1709814947154_alter_table_public_transactions_drop_column_nonce/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
comment on column "public"."transactions"."nonce" is E'transactions table '; | ||
alter table "public"."transactions" alter column "nonce" drop not null; | ||
alter table "public"."transactions" add column "nonce" int8; |
1 change: 1 addition & 0 deletions
1
...migrations/default/1709814947154_alter_table_public_transactions_drop_column_nonce/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alter table "public"."transactions" drop column "nonce" cascade; |
4 changes: 4 additions & 0 deletions
4
...igrations/default/1709815035598_alter_table_public_transactions_add_column_nonce/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- Could not auto-generate a down migration. | ||
-- Please write an appropriate down migration for the SQL below: | ||
-- alter table "public"."transactions" add column "nonce" bigint | ||
-- null; |
2 changes: 2 additions & 0 deletions
2
.../migrations/default/1709815035598_alter_table_public_transactions_add_column_nonce/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
alter table "public"."transactions" add column "nonce" bigint | ||
null; |
Oops, something went wrong.