CREATE TABLE IF NOT EXISTS news (
    id INTEGER PRIMARY KEY,
    news_title TEXT NOT NULL,
    news_text TEXT NOT NULL,
    news_date DATETIME,
    news_publish DATETIME,
    display TINYINT NOT NULL DEFAULT 0
);

CREATE TABLE IF NOT EXISTS retailer (
    id INTEGER PRIMARY KEY,
    shopname TEXT NOT NULL,
    url TEXT NOT NULL,
    country TEXT NOT NULL,
    display TINYINT NOT NULL DEFAULT 1
);

CREATE TABLE IF NOT EXISTS app_user (
    user_name TEXT PRIMARY KEY,
    user_pass TEXT DEFAULT NULL,
    realname TEXT DEFAULT NULL,
    email TEXT DEFAULT NULL
);
