From 41ca527d20dc3536435b8628bb0415afab0b7595 Mon Sep 17 00:00:00 2001 From: james Date: Wed, 23 Jun 2010 19:58:33 +0000 Subject: [PATCH] Use proper fieldname conventions --- db/db.update.192.sql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/db/db.update.192.sql b/db/db.update.192.sql index bdaca61..a42607c 100644 --- a/db/db.update.192.sql +++ b/db/db.update.192.sql @@ -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; +