-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WarpySyncer: add Mode and Manta networks to sync_state
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
src/utils/model/sql_migrations/000960_sync_state_warpy_syncer_mode_manta_types.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- +migrate Down | ||
|
||
-- +migrate Up | ||
ALTER TYPE synced_component ADD VALUE 'WarpySyncerMode'; | ||
ALTER TYPE synced_component ADD VALUE 'WarpySyncerManta'; |
7 changes: 7 additions & 0 deletions
7
src/utils/model/sql_migrations/000970_sync_state_warpy_syncer_mode_manta.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- +migrate Down | ||
DELETE FROM sync_state WHERE name = 'WarpySyncerMode'; | ||
DELETE FROM sync_state WHERE name = 'WarpySyncerManta'; | ||
|
||
-- +migrate Up | ||
INSERT INTO sync_state(name, finished_block_height, finished_block_hash) VALUES ('WarpySyncerMode', 39295852, '0x881367e3abc51a6c04a7513b0abb30a8f391aa45e35864828b4e3c29a2114b05'); | ||
INSERT INTO sync_state(name, finished_block_height, finished_block_hash) VALUES ('WarpySyncerManta', 39295852, '0x881367e3abc51a6c04a7513b0abb30a8f391aa45e35864828b4e3c29a2114b05' ); |