Files
coder/coderd/database/migrations/000007_user_status.up.sql
T

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

4 lines
156 B
SQL
Raw Normal View History

CREATE TYPE user_status AS ENUM ('active', 'suspended');
ALTER TABLE ONLY users
ADD COLUMN IF NOT EXISTS status user_status NOT NULL DEFAULT 'active';