-- Expand-only: new indexes, no column/table removal or rename, so replicas of the previous build keep working -- while the rolling update is in progress. Destructive changes go to a later release, after old replicas are gone. CREATE INDEX IF NOT EXISTS sessions_user_idx ON sessions (user_id); CREATE INDEX IF NOT EXISTS sessions_expires_idx ON sessions (expires_at);