Skip to content

Commit 7980bed

Browse files
committed
migrations undo
1 parent 36e7d08 commit 7980bed

3 files changed

Lines changed: 12 additions & 94 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-- Drop all tables in reverse order of creation (respecting foreign key dependencies)
2+
DROP TABLE IF EXISTS transactions;
3+
DROP TABLE IF EXISTS nullifiers;
4+
DROP TABLE IF EXISTS account_vault_headers;
5+
DROP TABLE IF EXISTS account_vault_assets;
6+
DROP TABLE IF EXISTS account_storage_map_values;
7+
DROP TABLE IF EXISTS note_scripts;
8+
DROP TABLE IF EXISTS notes;
9+
DROP TABLE IF EXISTS account_storage_headers;
10+
DROP TABLE IF EXISTS accounts;
11+
DROP TABLE IF EXISTS account_codes;
12+
DROP TABLE IF EXISTS block_headers;

crates/store/src/db/migrations/2025062000001_remove_storage_blob/down.sql

Lines changed: 0 additions & 39 deletions
This file was deleted.

crates/store/src/db/migrations/2025062000001_remove_storage_blob/up.sql

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)