ajout de la gestion des types d'ingredients

This commit is contained in:
jeremy
2024-10-31 12:52:27 +01:00
parent 59e0189251
commit 67eb418c74
3 changed files with 111 additions and 0 deletions

13
db.sql
View File

@@ -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');