-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ingest: asset_types and memo_type columns added (#29)
What Adds three columns to the ingest_payments table, to be persisted when running ingestion. Columns: src_asset_type, dest_asset_type and memo_type. Why These are relevant columns to the Vibrant wallet and potentially to other wallets as well.
- Loading branch information
1 parent
8a5f525
commit 39df5f3
Showing
13 changed files
with
249 additions
and
89 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-- +migrate Up | ||
|
||
ALTER TABLE ingest_payments | ||
ADD COLUMN src_asset_type text NOT NULL, | ||
ADD COLUMN dest_asset_type text NOT NULL, | ||
ADD COLUMN memo_type text NULL; | ||
|
||
-- +migrate Down | ||
|
||
ALTER TABLE ingest_payments | ||
DROP COLUMN src_asset_type, | ||
DROP COLUMN dest_asset_type, | ||
DROP COLUMN memo_type; |
Oops, something went wrong.