Unverified Commit 6680b225 authored by Mael Gaonach's avatar Mael Gaonach
Browse files

update Sequence

parent b0797d5e
......@@ -50,7 +50,9 @@ MODIFY
CREATE TABLE `Sequence` (
`sequenceId` int(11) unsigned PRIMARY KEY AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
) CREATE TABLE `SequenceEvent` (
);
CREATE TABLE `SequenceEvent` (
`sequenceEventId` int(11) unsigned PRIMARY KEY AUTO_INCREMENT,
`sequenceId` int(11) unsigned NOT NULL,
`type` enum(
......@@ -64,4 +66,4 @@ CREATE TABLE `Sequence` (
`period` float DEFAULT NULL,
`repetition` float DEFAULT NULL,
FOREIGN KEY (`sequenceId`) REFERENCES `Sequence`(`sequenceId`) ON DELETE CASCADE ON UPDATE CASCADE
)
\ No newline at end of file
);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment