added new db update file
This commit is contained in:
parent
9b7c708a06
commit
06dcf9a528
resources/db_update_scripts
@ -1,16 +0,0 @@
|
||||
-- Increase limit on Watson fields
|
||||
ALTER TABLE `projectIdea` CHANGE `practicalHow` `practicalHow` VARCHAR( 4000 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
|
||||
ALTER TABLE `projectIdea` CHANGE `theoryHow` `theoryHow` VARCHAR( 4000 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
|
||||
ALTER TABLE `projectIdea` CHANGE `what` `what` VARCHAR( 4000 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
|
||||
ALTER TABLE `projectIdea` CHANGE `why` `why` VARCHAR( 4000 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `weights` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`dateCreated` datetime NOT NULL,
|
||||
`lastModified` datetime NOT NULL,
|
||||
`version` int(11) NOT NULL,
|
||||
`keywordPoints` int(11) NOT NULL,
|
||||
`preferredSupervisorPoints` int(11) NOT NULL,
|
||||
`researchAreaPoints` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
16
resources/db_update_scripts/db_update_2012-03-08.sql
Normal file
16
resources/db_update_scripts/db_update_2012-03-08.sql
Normal file
@ -0,0 +1,16 @@
|
||||
-- Increase limit on Watson fields
|
||||
ALTER TABLE `projectIdea` CHANGE `practicalHow` `practicalHow` VARCHAR( 4000 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
|
||||
ALTER TABLE `projectIdea` CHANGE `theoryHow` `theoryHow` VARCHAR( 4000 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
|
||||
ALTER TABLE `projectIdea` CHANGE `what` `what` VARCHAR( 4000 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
|
||||
ALTER TABLE `projectIdea` CHANGE `why` `why` VARCHAR( 4000 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `weights` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`dateCreated` datetime NOT NULL,
|
||||
`lastModified` datetime NOT NULL,
|
||||
`version` int(11) NOT NULL,
|
||||
`keywordPoints` int(11) NOT NULL,
|
||||
`preferredSupervisorPoints` int(11) NOT NULL,
|
||||
`researchAreaPoints` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
Loading…
x
Reference in New Issue
Block a user