Skip to content

Commit 81b6333

Browse files
author
Vianpyro
committed
Add estimated_cost column to recipe table
1 parent c7c0c65 commit 81b6333

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

database.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ CREATE OR REPLACE TABLE recipe (
100100
cook_time INT UNSIGNED NULL,
101101
servings INT UNSIGNED NULL,
102102
difficulty_level TINYINT CHECK (difficulty_level BETWEEN 1 AND 3),
103+
estimated_cost TINYINT CHECK (estimated_cost BETWEEN 1 AND 3),
103104
number_of_reviews INT NULL,
104105
recipe_source VARCHAR(255) NULL,
105106
recipe_status TINYINT NOT NULL DEFAULT 1,

0 commit comments

Comments
 (0)