import type postgres from "postgres"; export const name = "001_sessions"; export async function up(sql: postgres.Sql): Promise { await sql` CREATE TABLE IF NOT EXISTS sessions ( id TEXT PRIMARY KEY, room TEXT NOT NULL DEFAULT 'main', created_at TIMESTAMPTZ DEFAULT NOW(), updated_at TIMESTAMPTZ DEFAULT NOW() ) `; }