mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-10 23:23:52 +01:00
17 lines
452 B
SQL
17 lines
452 B
SQL
DROP TABLE IF EXISTS Information;
|
|
-- !
|
|
CREATE TABLE IF NOT EXISTS Information (
|
|
key TEXT PRIMARY KEY,
|
|
value TEXT NOT NULL
|
|
);
|
|
-- !
|
|
INSERT INTO Information VALUES ('schema_version', '0.0.1');
|
|
-- !
|
|
DROP TABLE IF EXISTS Categories;
|
|
-- !
|
|
CREATE TABLE IF NOT EXISTS Categories (
|
|
id INTEGER PRIMARY KEY,
|
|
title TEXT NOT NULL UNIQUE CHECK(title != ''),
|
|
description TEXT
|
|
icon BLOB
|
|
); |