A day can have multiple meal plan notes (references #477)

This commit is contained in:
Bernd Bestel
2020-01-23 21:01:35 +01:00
parent 8d7f985b59
commit 6663551a66

View File

@@ -2,7 +2,5 @@ CREATE TABLE meal_plan_notes (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE, id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
day DATE NOT NULL, day DATE NOT NULL,
note TEXT, note TEXT,
row_created_timestamp DATETIME DEFAULT (datetime('now', 'localtime')), row_created_timestamp DATETIME DEFAULT (datetime('now', 'localtime'))
UNIQUE(day)
); );