Open tevpg opened 8 months ago
For sqlite3 use integer PK in table creation. Becomes an alias for unvarying row id
https://www.sqlite.org/lang_createtable.html#rowid
Use FKs to day.id in VISIT and BLOCK with DELETE CASCADE
VISIT have time_in and duration (int minutes) in case goes past midnight