updated current.sql
This commit is contained in:
parent
5c067798af
commit
8af21dff55
@ -0,0 +1,17 @@
|
||||
-- Phase table
|
||||
CREATE TABLE `milestone_phase` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`dateCreated` datetime NOT NULL,
|
||||
`lastModified` datetime NOT NULL,
|
||||
`version` int(11) NOT NULL,
|
||||
`deleted` tinyint(1) NOT NULL,
|
||||
`description` varchar(255) DEFAULT NULL,
|
||||
`title` varchar(255) NOT NULL,
|
||||
`sortOrder` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `deleted_index` (`deleted`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
ALTER TABLE `milestone_activity` ADD `sortOrder` int(11) DEFAULT NULL;
|
||||
ALTER TABLE `milestone_activity` ADD `phase` bigint(20) NOT NULL;
|
||||
ALTER TABLE `milestone_activity` ADD CONSTRAINT `FK42DAA8FE233E1A72` FOREIGN KEY (`phase`) REFERENCES `milestone_phase` (`id`);
|
Loading…
x
Reference in New Issue
Block a user