mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-31 17:44:52 +01:00
Added initial schema 4 updates.
This commit is contained in:
parent
3e040377b6
commit
c9953e10d0
@ -14,6 +14,8 @@ CREATE TABLE IF NOT EXISTS Information (
|
||||
-- !
|
||||
INSERT INTO Information VALUES (1, 'schema_version', '3');
|
||||
-- !
|
||||
INSERT INTO Information VALUES (1, 'standard_account_enabled', 1);
|
||||
-- !
|
||||
DROP TABLE IF EXISTS Categories;
|
||||
-- !
|
||||
CREATE TABLE IF NOT EXISTS Categories (
|
||||
|
@ -8,6 +8,8 @@ CREATE TABLE IF NOT EXISTS Information (
|
||||
-- !
|
||||
INSERT INTO Information VALUES (1, 'schema_version', '3');
|
||||
-- !
|
||||
INSERT INTO Information VALUES (1, 'standard_account_enabled', 1);
|
||||
-- !
|
||||
DROP TABLE IF EXISTS Categories;
|
||||
-- !
|
||||
CREATE TABLE IF NOT EXISTS Categories (
|
||||
|
1
resources/misc/db_update_mysql_3_4.sql
Normal file
1
resources/misc/db_update_mysql_3_4.sql
Normal file
@ -0,0 +1 @@
|
||||
INSERT INTO Information VALUES (1, 'standard_account_enabled', 1);
|
1
resources/misc/db_update_sqlite_3_4.sql
Normal file
1
resources/misc/db_update_sqlite_3_4.sql
Normal file
@ -0,0 +1 @@
|
||||
INSERT INTO Information VALUES (1, 'standard_account_enabled', 1);
|
@ -117,7 +117,7 @@
|
||||
#define APP_DB_SQLITE_FILE "database.db"
|
||||
|
||||
// Keep this in sync with schema versions declared in SQL initialization code.
|
||||
#define APP_DB_SCHEMA_VERSION "3"
|
||||
#define APP_DB_SCHEMA_VERSION "4"
|
||||
#define APP_DB_UPDATE_FILE_PATTERN "db_update_%1_%2_%3.sql"
|
||||
#define APP_DB_COMMENT_SPLIT "-- !\n"
|
||||
#define APP_DB_WEB_PATH "data/database/web"
|
||||
|
Loading…
x
Reference in New Issue
Block a user