File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ pub(crate) const MIGRATION_LOG_COLUMN: &str = "upgrade_from";
55pub ( crate ) const CHECK_DB_STMT : & str = "SELECT 1 FROM pg_database WHERE datname = $1" ;
66pub ( 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" ;
99pub ( crate ) const GET_VERSION_STMT : & str = "SELECT db_version FROM vss_db_version;" ;
1010pub ( crate ) const UPDATE_VERSION_STMT : & str = "UPDATE vss_db_version SET db_version=$1;" ;
1111pub ( 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;" ;
You can’t perform that action at this time.
0 commit comments