Use proper fieldname conventions

This commit is contained in:
james 2010-06-23 19:58:33 +00:00
parent 55b5080575
commit 41ca527d20

View File

@ -9,9 +9,9 @@ CREATE TABLE `accounts` (
CREATE TABLE `roles` ( CREATE TABLE `roles` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`role_type` VARCHAR( 256 ) NOT NULL , `roletype` VARCHAR( 256 ) NOT NULL ,
`role_name` VARCHAR( 256 ) NOT NULL , `rolename` VARCHAR( 256 ) NOT NULL ,
UNIQUE ( `role_type` ) UNIQUE ( `roletype` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci; ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE TABLE `user_roles` ( CREATE TABLE `user_roles` (
@ -23,3 +23,4 @@ CREATE TABLE `user_roles` (
`active` ENUM( 'no', 'yes' ) NOT NULL DEFAULT 'yes', `active` ENUM( 'no', 'yes' ) NOT NULL DEFAULT 'yes',
`complete` ENUM( 'no', 'yes' ) NOT NULL DEFAULT 'no' `complete` ENUM( 'no', 'yes' ) NOT NULL DEFAULT 'no'
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci; ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;