Skip to content

Commit

Permalink
chore: update migration files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-HuyLe3a committed Dec 1, 2023
1 parent 4ffe0f6 commit 3dabab5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,8 @@ CREATE TABLE IF NOT EXISTS address
balance numeric(39) NOT NULL,
tx_count bigint,
stake_address_id bigint,
verified_contract boolean
verified_contract boolean,
payment_cred varchar(56)
);

--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,7 @@ CREATE INDEX IF NOT EXISTS tx_witnesses_tx_id_idx ON tx_witnesses (tx_id);
CREATE INDEX IF NOT EXISTS tx_bootstrap_witnesses_tx_id_idx ON tx_bootstrap_witnesses (tx_id);

CREATE INDEX IF NOT EXISTS redeemer_script_hash_idx ON redeemer (script_hash);

CREATE INDEX IF NOT EXISTS address_payment_cred_idx ON address (payment_cred);
CREATE INDEX IF NOT EXISTS redeemer_script_hash_tx_id_idx ON redeemer (script_hash, tx_id);
CREATE INDEX IF NOT EXISTS stake_address_script_hash_idx ON stake_address (script_hash);

This file was deleted.

0 comments on commit 3dabab5

Please sign in to comment.