Commit 7ac6d2c3 authored by Estéban Ristich's avatar Estéban Ristich
Browse files

Fix Issue #62 Add table recipe in SQL upgrade 5

parent e8b190a8
......@@ -39,3 +39,13 @@ CREATE TABLE IF NOT EXISTS `intervention` (
FOREIGN KEY (`supplier_id`) REFERENCES `fournisseurs`(`id`),
FOREIGN KEY (`equipment_id`) REFERENCES `listing`(`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `recipe` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`pathname` VARCHAR(500) NOT NULL,
`intervention_id` INT(11) NOT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (`intervention_id`) REFERENCES `intervention`(`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 CHARSET=utf8;
\ No newline at end of file
Markdown is supported
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