CREATE TABLE IF NOT EXISTS migrations (
    id SERIAL PRIMARY KEY,
    version TEXT NOT NULL UNIQUE,
    applied_at TIMESTAMP DEFAULT NOW()
);

