taskcafe/migrations/0039_add-role-column-to-user_account-table.up.sql

3 lines
120 B
MySQL
Raw Normal View History

ALTER TABLE user_account ADD COLUMN role_code text
NOT NULL REFERENCES role(code) ON DELETE CASCADE DEFAULT 'member';