diff --git a/db/db.update.127.sql b/db/db.update.127.sql index dcd0280..23b562f 100644 --- a/db/db.update.127.sql +++ b/db/db.update.127.sql @@ -8,7 +8,7 @@ INSERT INTO `config` (`var`, `val`, `category`, `type`, `type_values`, `ord`, `d ALTER TABLE `fairs_stats` CHANGE `publicschools` `schools_public` INT( 11 ) NOT NULL DEFAULT '0', CHANGE `privateschools` `schools_private` INT( 11 ) NOT NULL DEFAULT '0'; ALTER TABLE `fairs_stats` ADD `students_public` INT NOT NULL AFTER `projects_11` ; -ALTER TABLE `fairs_stats` ADD `students_private` INT NOT NULL AFTER `public_schools` ; +ALTER TABLE `fairs_stats` ADD `students_private` INT NOT NULL AFTER `schools_public` ; ALTER TABLE `fairs_stats` CHANGE `users_uid` `fairs_id` INT( 11 ) NOT NULL DEFAULT '0'; ALTER TABLE `fairs_stats` ADD `students_total` INT NOT NULL AFTER `projects_11` , ADD `schools_total` INT NOT NULL AFTER `students_total` ;