science-ation/db/db.update.117.sql
dave 87c845c048 - convert the registrations_id in the question answers to the new users_id (it's really the users id anyway)
- add a 117 script to cleanup all the post 116 stuff, deleting unneeded tables and whatnot
- these are NOT THE FINAL scripts, more will be added to these.
2008-10-17 20:38:01 +00:00

11 lines
498 B
SQL

-- complete has been moved inside each users_* table
ALTER TABLE `users` DROP `complete`;
-- drop the old judge tables, all this info is now in the new user system (converted in the 116 update)
DROP TABLE `judges`,`judges_catpref`,`judges_expertise`,`judges_languages`,`judges_years` ;
-- questions table should use users_id now (which is what was being saved in the registrations_id)
ALTER TABLE `question_answers` CHANGE `registrations_id` `users_id` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0';