forked from science-ation/science-ation
Use proper fieldname conventions
This commit is contained in:
parent
55b5080575
commit
41ca527d20
@ -9,9 +9,9 @@ CREATE TABLE `accounts` (
|
||||
|
||||
CREATE TABLE `roles` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||
`role_type` VARCHAR( 256 ) NOT NULL ,
|
||||
`role_name` VARCHAR( 256 ) NOT NULL ,
|
||||
UNIQUE ( `role_type` )
|
||||
`roletype` VARCHAR( 256 ) NOT NULL ,
|
||||
`rolename` VARCHAR( 256 ) NOT NULL ,
|
||||
UNIQUE ( `roletype` )
|
||||
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
|
||||
CREATE TABLE `user_roles` (
|
||||
@ -23,3 +23,4 @@ CREATE TABLE `user_roles` (
|
||||
`active` ENUM( 'no', 'yes' ) NOT NULL DEFAULT 'yes',
|
||||
`complete` ENUM( 'no', 'yes' ) NOT NULL DEFAULT 'no'
|
||||
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user