diff --git a/resources/misc/db_init_mysql.sql b/resources/misc/db_init_mysql.sql index 8e7b1e8d6..4f4ec7dc1 100644 --- a/resources/misc/db_init_mysql.sql +++ b/resources/misc/db_init_mysql.sql @@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS Information ( -- ! INSERT INTO Information VALUES (1, 'schema_version', '3'); -- ! -INSERT INTO Information VALUES (1, 'standard_account_enabled', 1); +INSERT INTO Information (inf_key, inf_value) VALUES ('standard_account_enabled', 1); -- ! DROP TABLE IF EXISTS Categories; -- ! diff --git a/resources/misc/db_init_sqlite.sql b/resources/misc/db_init_sqlite.sql index 103e48a3a..99e4b1363 100644 --- a/resources/misc/db_init_sqlite.sql +++ b/resources/misc/db_init_sqlite.sql @@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS Information ( -- ! INSERT INTO Information VALUES (1, 'schema_version', '3'); -- ! -INSERT INTO Information VALUES (1, 'standard_account_enabled', 1); +INSERT INTO Information (inf_key, inf_value) VALUES ('standard_account_enabled', 1); -- ! DROP TABLE IF EXISTS Categories; -- ! diff --git a/resources/misc/db_update_mysql_3_4.sql b/resources/misc/db_update_mysql_3_4.sql index b2a62febd..02b7e6fa6 100644 --- a/resources/misc/db_update_mysql_3_4.sql +++ b/resources/misc/db_update_mysql_3_4.sql @@ -1 +1 @@ -INSERT INTO Information VALUES (1, 'standard_account_enabled', 1); \ No newline at end of file +INSERT INTO Information (inf_key, inf_value) VALUES ('standard_account_enabled', 1); \ No newline at end of file diff --git a/resources/misc/db_update_sqlite_3_4.sql b/resources/misc/db_update_sqlite_3_4.sql index b2a62febd..02b7e6fa6 100644 --- a/resources/misc/db_update_sqlite_3_4.sql +++ b/resources/misc/db_update_sqlite_3_4.sql @@ -1 +1 @@ -INSERT INTO Information VALUES (1, 'standard_account_enabled', 1); \ No newline at end of file +INSERT INTO Information (inf_key, inf_value) VALUES ('standard_account_enabled', 1); \ No newline at end of file