From 0367d5001b5aab0abb0d10dc4c53428060d5d32d Mon Sep 17 00:00:00 2001 From: Mikhail Mitrofanov Date: Sun, 23 Aug 2026 22:22:26 +0300 Subject: [PATCH] Remove ensure db --- src/data_provider/sqlite.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/data_provider/sqlite.rs b/src/data_provider/sqlite.rs index 3ef4478..764d5d6 100644 --- a/src/data_provider/sqlite.rs +++ b/src/data_provider/sqlite.rs @@ -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();