PRAGMA foreign_keys = OFF;

BEGIN TRANSACTION;

CREATE TABLE cache (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    prompt TEXT NOT NULL,
    negative_prompt TEXT NOT NULL,
    image_path TEXT NOT NULL,
    seed INTEGER NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
);

COMMIT;