forked from science-ation/science-ation
Populating the roles table, add "superuser" field to the accounts table
This commit is contained in:
parent
41ca527d20
commit
1743beb14e
@ -1 +1 @@
|
||||
192
|
||||
193
|
||||
|
16
db/db.update.193.sql
Normal file
16
db/db.update.193.sql
Normal file
@ -0,0 +1,16 @@
|
||||
INSERT INTO `roles` (`roletype`, `rolename`)
|
||||
VALUES
|
||||
('alumni', 'Alumni'),
|
||||
('committee', 'Committee'),
|
||||
('fair', 'Fair'),
|
||||
('judge', 'Judge'),
|
||||
('mentor', 'Mentor'),
|
||||
('parent', 'Parent'),
|
||||
('principal', 'Principal'),
|
||||
('sponsor', 'Sponsor'),
|
||||
('student', 'Student'),
|
||||
('teacher', 'Teacher'),
|
||||
('volunteer', 'Volunteer');
|
||||
|
||||
ALTER TABLE `accounts` ADD `superuser` ENUM( 'no', 'yes' ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'no';
|
||||
|
Loading…
Reference in New Issue
Block a user