added new db update file

This commit is contained in:
fred-fri 2012-06-05 17:23:35 +09:00
parent b95f98777f
commit 0df570d5ef
2 changed files with 12 additions and 12 deletions
resources/db_update_scripts

@ -1,12 +0,0 @@
-- ALTER TABLE projectIdea_role CHANGE `authors_id` `authors_id` bigint(20) DEFAULT NULL;
-- ALTER TABLE projectIdea_role ADD `interestedSupervisors_id` bigint(20) DEFAULT NULL;
CREATE TABLE IF NOT EXISTS `projectIdea_employee` (
`pi_id` bigint(20) NOT NULL,
`empl_id` bigint(20) NOT NULL,
KEY `empl_id` (`empl_id`),
KEY `pi_id` (`pi_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE weights
ADD `supervisorInterestPoints` int(11) NOT NULL;

@ -0,0 +1,12 @@
-- ALTER TABLE projectIdea_role CHANGE `authors_id` `authors_id` bigint(20) DEFAULT NULL;
-- ALTER TABLE projectIdea_role ADD `interestedSupervisors_id` bigint(20) DEFAULT NULL;
CREATE TABLE IF NOT EXISTS `projectIdea_employee` (
`pi_id` bigint(20) NOT NULL,
`empl_id` bigint(20) NOT NULL,
KEY `empl_id` (`empl_id`),
KEY `pi_id` (`pi_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE weights
ADD `supervisorInterestPoints` int(11) NOT NULL;