Skip to content

Commit

Permalink
fix(eventindexer): fixing migrations squence
Browse files Browse the repository at this point in the history
  • Loading branch information
k-kaddal committed Jun 13, 2024
1 parent 2207f45 commit c843285
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- +goose Up
-- +goose StatementBegin
ALTER TABLE `nft_metadata` ADD INDEX `nft_metadata_contract_address_token_id_index` (`contract_address`, `token_id`);

-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE nft_metadata
DROP INDEX nft_metadata_contract_address_token_id_index
-- +goose StatementEnd

0 comments on commit c843285

Please sign in to comment.