- Finished CRUD methods of Variables, Ingredients, MetaSchools, pretty much everything except users ye
This commit is contained in:
@@ -38,6 +38,7 @@ CREATE TABLE IF NOT EXISTS `school` (
|
||||
CREATE TABLE IF NOT EXISTS `ingredient` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`name` VARCHAR(255) NOT NULL DEFAULT "Langue de salamandre",
|
||||
`description` VARCHAR(255) NOT NULL DEFAULT "Une langue de salamandre de feu qui bouge encore un peu.",
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
|
||||
|
||||
@@ -207,9 +207,9 @@ INSERT INTO `user` (name, mail, password) VALUES
|
||||
('Kevin', '35.alexis.mail@gmail.com', 'sept777');
|
||||
|
||||
-- INGREDIENTS
|
||||
INSERT INTO `ingredient` (name) VALUES
|
||||
('Volonté'),
|
||||
('Geste');
|
||||
INSERT INTO `ingredient` (name, description) VALUES
|
||||
('Volonté', 'La force de volonté du lanceur, concentrée sur un objectif'),
|
||||
('Geste', 'Un geste précis facilitant la canalisation magique');
|
||||
|
||||
-- VARIABLES
|
||||
INSERT INTO `variable` (description) VALUES
|
||||
|
||||
Reference in New Issue
Block a user