diff --git a/src/utils/model/sql_migrations/000980_warpy_syncer_chain_protocol_columns.sql b/src/utils/model/sql_migrations/000980_warpy_syncer_chain_protocol_columns.sql new file mode 100644 index 00000000..1fdeed42 --- /dev/null +++ b/src/utils/model/sql_migrations/000980_warpy_syncer_chain_protocol_columns.sql @@ -0,0 +1,7 @@ +-- +migrate Down +ALTER TABLE warpy_syncer_transactions DROP COLUMN IF EXISTS protocol; +ALTER TABLE warpy_syncer_assets DROP COLUMN IF EXISTS chain; + +-- +migrate Up +ALTER TABLE warpy_syncer_transactions ADD COLUMN IF NOT EXISTS protocol VARCHAR(64); +ALTER TABLE warpy_syncer_assets ADD COLUMN IF NOT EXISTS chain VARCHAR(64); \ No newline at end of file