Skip to content

Commit 0bf37eb

Browse files
committed
chore: formatted and pub(crate) visibility
1 parent ca77a22 commit 0bf37eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/impls/src/migrations.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub(crate) const MIGRATION_LOG_COLUMN: &str = "upgrade_from";
55
pub(crate) const CHECK_DB_STMT: &str = "SELECT 1 FROM pg_database WHERE datname = $1";
66
pub(crate) const INIT_DB_CMD: &str = "CREATE DATABASE";
77
#[cfg(test)]
8-
const DROP_DB_CMD: &str = "DROP DATABASE";
8+
pub(crate) const DROP_DB_CMD: &str = "DROP DATABASE";
99
pub(crate) const GET_VERSION_STMT: &str = "SELECT db_version FROM vss_db_version;";
1010
pub(crate) const UPDATE_VERSION_STMT: &str = "UPDATE vss_db_version SET db_version=$1;";
1111
pub(crate) const LOG_MIGRATION_STMT: &str = "INSERT INTO vss_db_upgrades VALUES($1);";
@@ -36,4 +36,4 @@ pub(crate) const MIGRATIONS: &[&str] = &[
3636
);",
3737
];
3838
#[cfg(test)]
39-
const DUMMY_MIGRATION: &str = "SELECT 1 WHERE FALSE;";
39+
pub(crate) const DUMMY_MIGRATION: &str = "SELECT 1 WHERE FALSE;";

0 commit comments

Comments
 (0)