Files
coder/coderd/database/migrations/000144_user_status_dormant.down.sql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
169 B
SQL
Raw Normal View History

2023-08-02 16:31:25 +02:00
-- 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::text = 'dormant';