CREATE TABLE IF NOT EXISTS public.migrations (
    id SERIAL PRIMARY KEY,
    repo_name TEXT NOT NULL,
    filename TEXT NOT NULL,
    applied_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    UNIQUE (repo_name, filename)
); 