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
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

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