Skip to content

Commit

Permalink
Fix paima tables
Browse files Browse the repository at this point in the history
  • Loading branch information
gostkin committed Dec 19, 2023
1 parent 38e41d8 commit 7197527
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/node-sdk/paima-db/src/paima-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ CREATE TABLE cde_cardano_projected_nft (
previous_tx_output_index INTEGER,
current_tx_hash TEXT NOT NULL,
current_tx_output_index INTEGER,
asset TEXT NOT NULL,
policy_id TEXT NOT NULL,
asset_name TEXT NOT NULL,
amount BIGINT NOT NULL,
status TEXT NOT NULL,
plutus_datum TEXT NOT NULL,
Expand All @@ -306,11 +307,12 @@ const TABLE_DATA_CDE_CARDANO_PROJECTED_NFT: TableData = {
['previous_tx_output_index', 'integer', 'YES', ''],
['current_tx_hash', 'text', 'NO', ''],
['current_tx_output_index', 'integer', 'YES', ''],
['asset', 'text', 'NO', ''],
['policy_id', 'text', 'NO', ''],
['asset_name', 'text', 'NO', ''],
['amount', 'bigint', 'NO', ''],
['status', 'text', 'NO', ''],
['plutus_datum', 'text', 'NO', ''],
['for_how_long', 'bigint', 'NO', ''],
['for_how_long', 'bigint', 'YES', ''],
]),
serialColumns: ['id'],
creationQuery: QUERY_CREATE_TABLE_CDE_CARDANO_PROJECTED_NFT,
Expand Down

0 comments on commit 7197527

Please sign in to comment.