added milestone_student to current.sql
This commit is contained in:
parent
db66ff1139
commit
2178ace1cc
@ -10,4 +10,21 @@ CREATE TABLE `milestone_project` (
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `FK36B9B4AC1813915` (`project_id`),
|
||||
CONSTRAINT `FK36B9B4AC1813915` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
CREATE TABLE `milestone_student` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`dateCreated` datetime NOT NULL,
|
||||
`lastModified` datetime NOT NULL,
|
||||
`version` int(11) NOT NULL,
|
||||
`confirmed` tinyint(1) NOT NULL,
|
||||
`dateConfirmed` datetime NOT NULL,
|
||||
`activity` varchar(255) NOT NULL,
|
||||
`project_id` bigint(20) DEFAULT NULL,
|
||||
`student_id` bigint(20) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `FKA5D9D26CC1813915` (`project_id`),
|
||||
KEY `FKA5D9D26C9BD14DD5` (`student_id`),
|
||||
CONSTRAINT `FKA5D9D26C9BD14DD5` FOREIGN KEY (`student_id`) REFERENCES `role` (`id`),
|
||||
CONSTRAINT `FKA5D9D26CC1813915` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
Loading…
x
Reference in New Issue
Block a user