ondelcascade_dish

This commit is contained in:
ada-dmitry
2024-04-28 13:14:55 +03:00
parent ae3cbeed26
commit 7cd1ab1f2e
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -8,7 +8,7 @@ class DishTable(DbTable):
def columns(self):
return {"id": ["serial", "PRIMARY KEY"],
"cath_id": ["integer", "REFERENCES cath(id)", "NOT NULL"],
"cath_id": ["integer", "REFERENCES cath(id) ON DELETE CASCADE", "NOT NULL"],
"dish_name": ["varchar(32)", "NOT NULL"],
"cook_time": ["interval"],
"manual": ["text"]}