-- Ensure created column exists on user_authtoken (Django already creates it,
-- but this migration guarantees it for fresh Go-only deployments).
ALTER TABLE user_authtoken ADD COLUMN IF NOT EXISTS created TIMESTAMP WITH TIME ZONE DEFAULT NOW();

-- Backfill any rows that may have a NULL created timestamp.
UPDATE user_authtoken SET created = NOW() WHERE created IS NULL;
