Skip to content

Commit

Permalink
don't modify released migration
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jul 4, 2024
1 parent f7454c3 commit ec6e1d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion sql/migrations/state/0019_marriages.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
ALTER TABLE identities ADD COLUMN marriage_atx CHAR(32);
ALTER TABLE identities ADD COLUMN marriage_idx INTEGER;
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
-- Changes required to handle merged ATXs

ALTER TABLE atxs ADD COLUMN weight INTEGER;
UPDATE atxs SET weight = effective_num_units * tick_count;

ALTER TABLE identities ADD COLUMN marriage_idx INTEGER;

0 comments on commit ec6e1d5

Please sign in to comment.