Remove ensure db

This commit is contained in:
micialware committed 2026-08-23 22:22:26 +03:00
1 parent 3fcfe95720
commit 0367d5001b
1 file changed
-6
-6
View File
@@ -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();