mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
7 lines
206 B
SQL
7 lines
206 B
SQL
CREATE TABLE habits_log (
|
|
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
|
|
habit_id INTEGER NOT NULL,
|
|
tracked_time DATETIME,
|
|
row_created_timestamp DATETIME DEFAULT (datetime('now', 'localtime'))
|
|
)
|