rssguard/resources/misc/db_update_sqlite_4_5.sql

11 lines
412 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS OwnCloudAccounts (
id INTEGER,
username TEXT NOT NULL,
password TEXT,
url TEXT NOT NULL,
force_update INTEGER(1) NOT NULL CHECK (force_update >= 0 AND force_update <= 1) DEFAULT 0,
FOREIGN KEY (id) REFERENCES Accounts (id)
2016-02-19 13:54:42 +01:00
);
-- !
UPDATE Information SET inf_value = '5' WHERE inf_key = 'schema_version';