Skip to content

Commit

Permalink
fixup! fix(compiler,storage): remove CASM compiler version info
Browse files Browse the repository at this point in the history
  • Loading branch information
kkovaacs committed Jan 31, 2024
1 parent ae40afb commit 4a41ef2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions crates/storage/src/schema/revision_0048.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
use anyhow::Context;

pub(crate) fn migrate(tx: &rusqlite::Transaction<'_>) -> anyhow::Result<()> {
tracing::info!("Dropping CASM compiler version information");

tx.execute_batch(
r"
ALTER TABLE casm_definitions DROP COLUMN compiler_version_id;
DROP TABLE casm_compiler_versions;
",
)
.context("Dropping CASM compiler version table")?;

Ok(())
}

0 comments on commit 4a41ef2

Please sign in to comment.