create table if not exists venues ( id bigserial primary key, code text not null unique, name text not null, timezone text not null, status text not null default 'active', created_at timestamptz not null default now(), updated_at timestamptz not null default now() );