CREATE TABLE IF NOT EXISTS websites (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    address TEXT NOT NULL UNIQUE,
    active INTEGER DEFAULT 1
);

CREATE TABLE IF NOT EXISTS data (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    website_address TEXT NOT NULL,
    form_fields TEXT NOT NULL,

    FOREIGN KEY (website_address) REFERENCES websites(address)
);
