added new db update file
This commit is contained in:
parent
138c26717a
commit
ed35fece10
resources/db_update_scripts
@ -1,13 +0,0 @@
|
|||||||
CREATE TABLE IF NOT EXISTS unit (
|
|
||||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
||||||
`dateCreated` datetime NOT NULL,
|
|
||||||
`lastModified` datetime NOT NULL,
|
|
||||||
`identifier` bigint(20) DEFAULT NULL,
|
|
||||||
`title` varchar(255) NOT NULL,
|
|
||||||
`version` int(4) NOT NULL DEFAULT '0',
|
|
||||||
PRIMARY KEY (`id`),
|
|
||||||
UNIQUE KEY `identifier` (`identifier`)
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2925 ;
|
|
||||||
|
|
||||||
ALTER TABLE role
|
|
||||||
ADD unit_id bigint(20) DEFAULT NULL;
|
|
13
resources/db_update_scripts/db_update_2012-06-01.sql
Normal file
13
resources/db_update_scripts/db_update_2012-06-01.sql
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS unit (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`dateCreated` datetime NOT NULL,
|
||||||
|
`lastModified` datetime NOT NULL,
|
||||||
|
`identifier` bigint(20) DEFAULT NULL,
|
||||||
|
`title` varchar(255) NOT NULL,
|
||||||
|
`version` int(4) NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `identifier` (`identifier`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2925 ;
|
||||||
|
|
||||||
|
ALTER TABLE role
|
||||||
|
ADD unit_id bigint(20) DEFAULT NULL;
|
Loading…
x
Reference in New Issue
Block a user