science-ation/db/db.update.117.sql

11 lines
498 B
MySQL
Raw Normal View History

-- 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';