diff options
Diffstat (limited to 'src/lib/server/db')
| -rw-r--r-- | src/lib/server/db/schema.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/server/db/schema.ts b/src/lib/server/db/schema.ts index c5daac5..a7fcd8f 100644 --- a/src/lib/server/db/schema.ts +++ b/src/lib/server/db/schema.ts @@ -40,8 +40,7 @@ export const projects = sqliteTable('projects', { archived: integer('archived', { mode: 'boolean' }).notNull().default(false), }); -// Append-only snapshot table: an edit inserts a new row with version+1, the -// current routine is the row with the max version for its id. +// Append-only snapshot table: current routine = max version per id. export const routines = sqliteTable( 'routines', { |
