mirror of
https://github.com/grocy/grocy.git
synced 2026-04-08 13:46:14 +02:00
A day can have multiple meal plan notes (references #477)
This commit is contained in:
parent
8d7f985b59
commit
6663551a66
|
|
@ -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)
|
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user