mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 11:06:36 +00:00
A day can have multiple meal plan notes (references #477)
This commit is contained in:
@@ -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)
|
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user