ajout de la gestion des types d'ingredients
This commit is contained in:
13
db.sql
13
db.sql
@@ -54,3 +54,16 @@ CREATE TABLE clients (
|
||||
|
||||
|
||||
INSERT INTO clients (name, client_code) VALUES ('Example Client', 'ABC');
|
||||
|
||||
CREATE TABLE ingredients_types (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
name VARCHAR(50) NOT NULL UNIQUE,
|
||||
description TEXT,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO ingredients_types (name, description) VALUES
|
||||
('Spice', 'Used to add flavor to recipes'),
|
||||
('Sauce', 'Liquid or semi-liquid substance served with food'),
|
||||
('Topping', 'Additional items used to enhance dishes');
|
||||
|
||||
Reference in New Issue
Block a user