We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb4030 commit f3b4e8bCopy full SHA for f3b4e8b
internal/mithril-persistence/src/database/cardano_transaction_migration.rs
@@ -106,6 +106,17 @@ vacuum;
106
r#"
107
drop index cardano_tx_immutable_file_number_index;
108
alter table cardano_tx drop column immutable_file_number;
109
+ "#,
110
+ ),
111
+ // Migration 9
112
+ // Truncate Cardano transaction related tables to avoid data inconsistency
113
+ // with previous versions of the nodes.
114
+ SqlMigration::new(
115
+ 9,
116
+ r#"
117
+delete from cardano_tx;
118
+delete from block_range_root;
119
+vacuum;
120
"#,
121
),
122
]
0 commit comments