Skip to content

Commit f60eeef

Browse files
committed
remove changes to existing migrations
1 parent 73446d0 commit f60eeef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/database/migration/src/m20251005_160938_add_initial_l1_block_numbers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ impl MigrationTrait for Migration {
1515
VALUES
1616
('l1_finalized_block', '0'),
1717
('l1_latest_block', '0'),
18-
('l1_processed_block', '0'),
1918
('l2_head_block', '0')
2019
ON CONFLICT(key) DO NOTHING;
2120
"#,
@@ -31,7 +30,7 @@ impl MigrationTrait for Migration {
3130
db.execute_unprepared(
3231
r#"
3332
DELETE FROM metadata
34-
WHERE key IN ('l1_finalized_block', 'l1_latest_block', 'l1_processed_block', 'l2_head_block');
33+
WHERE key IN ('l1_finalized_block', 'l1_latest_block', 'l2_head_block');
3534
"#,
3635
)
3736
.await?;

0 commit comments

Comments
 (0)