9 lines
173 B
MySQL
9 lines
173 B
MySQL
|
CREATE TYPE "AccountState" AS ENUM (
|
||
|
'active',
|
||
|
'suspended',
|
||
|
'banned'
|
||
|
);
|
||
|
|
||
|
ALTER TABLE accounts
|
||
|
ADD COLUMN state "AccountState" NOT NULL DEFAULT 'active';
|