taskcafe/migrations/0038_add-role-table.up.sql

10 lines
254 B
MySQL
Raw Permalink Normal View History

CREATE TABLE role (
code TEXT PRIMARY KEY,
name TEXT NOT NULL
);
INSERT INTO role VALUES ('owner', 'Owner');
INSERT INTO role VALUES ('admin', 'Admin');
INSERT INTO role VALUES ('member', 'Member');
INSERT INTO role VALUES ('observer', 'Observer');