Make it possible to add notes to meal plan (days) (closes #477)

This commit is contained in:
Bernd Bestel
2020-01-23 20:59:19 +01:00
parent 594dc0858b
commit 8d7f985b59
7 changed files with 217 additions and 82 deletions

8
migrations/0096.sql Normal file
View File

@@ -0,0 +1,8 @@
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)
);