From f1a43a9cec221d0e9cc92dbecdd0c63c6bae0e08 Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 17 Jun 2010 14:02:30 +0000 Subject: [PATCH] DB updates that I forgot to include with my last commit --- db/db.code.version.txt | 2 +- db/db.update.186.sql | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 db/db.update.186.sql diff --git a/db/db.code.version.txt b/db/db.code.version.txt index 725a5ba..bc3d544 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -185 +186 diff --git a/db/db.update.186.sql b/db/db.update.186.sql new file mode 100644 index 0000000..93a8324 --- /dev/null +++ b/db/db.update.186.sql @@ -0,0 +1,4 @@ +ALTER TABLE `users_student` +CHANGE `users_uid` `users_id` INT( 11 ) NOT NULL; +CHANGE `students_active` `student_active` ENUM( 'yes', 'no' ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , +CHANGE `students_complete` `student_complete` ENUM( 'yes', 'no' ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL