Skip to content

Commit

Permalink
Merge pull request #1908 from maestro-org/master
Browse files Browse the repository at this point in the history
fix: `tx_out` table migration
  • Loading branch information
kderme authored Nov 25, 2024
2 parents 944e532 + 381606d commit d36f794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/migration-2-0044-20240912.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BEGIN
IF next_version = 44 THEN
-- EXECUTE 'ALTER TABLE "reward" ADD COLUMN "id" INT8 NOT NULL' ;
-- EXECUTE 'ALTER TABLE "reward_rest" ADD COLUMN "id" INT8 NOT NULL' ;
EXECUTE 'ALTER TABLE "tx_out" ADD COLUMN "consumed_by_tx_id" INT8 NULL' ;
EXECUTE 'ALTER TABLE "tx_out" ADD COLUMN IF NOT EXISTS "consumed_by_tx_id" INT8 NULL' ;
-- Hand written SQL statements can be added here.
UPDATE schema_version SET stage_two = next_version ;
RAISE NOTICE 'DB has been migrated to stage_two version %', next_version ;
Expand Down

0 comments on commit d36f794

Please sign in to comment.