Remove ensure db
This commit is contained in:
1 parent
3fcfe95720
commit
0367d5001b
1 file changed
-6
@@ -10,15 +10,9 @@ pub fn create_db() {
|
||||
connection.execute("PRAGMA foreign_keys = ON;", []).unwrap();
|
||||
|
||||
create_tables(&connection);
|
||||
} else {
|
||||
let connection = Connection::open(&db_file).unwrap();
|
||||
|
||||
ensure_db_schema(&connection);
|
||||
}
|
||||
}
|
||||
|
||||
fn ensure_db_schema(_: &Connection) {}
|
||||
|
||||
fn create_tables(conn: &Connection) {
|
||||
make_card_set(conn).unwrap();
|
||||
make_settings(conn).unwrap();
|
||||
|
||||
Reference in new issue
Block a user