Files
coder/coderd/database/migrations/000144_user_status_dormant.down.sql
2023-08-02 16:31:25 +02:00

4 lines
176 B
SQL

-- It's not possible to drop enum values from enum types, so the UP has "IF NOT EXISTS"
UPDATE users SET status = 'active'::user_status WHERE status = 'dormant'::user_status;