diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-30 22:13:07 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-30 22:13:07 +0200 |
| commit | a725d4c7d28fee701b6997cc46cffddefbcd26bf (patch) | |
| tree | 1e0899dc9fa67f8c74d7e4b7023881959d571d4f /src/lib/server/db | |
| parent | a17b24b8e95bf85a8522fc0c2cbbdb8da31bf018 (diff) | |
Allow granular routine frequencies like 5/2w
Diffstat (limited to 'src/lib/server/db')
| -rw-r--r-- | src/lib/server/db/schema.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/server/db/schema.ts b/src/lib/server/db/schema.ts index a7fcd8f..b6404ce 100644 --- a/src/lib/server/db/schema.ts +++ b/src/lib/server/db/schema.ts @@ -50,7 +50,7 @@ export const routines = sqliteTable( .notNull() .references(() => projects.id, { onDelete: 'cascade' }), name: text('name').notNull(), - frequencyDays: integer('frequency_days').notNull(), + frequency: text('frequency').notNull(), description: text('description').notNull().default(''), archived: integer('archived', { mode: 'boolean' }).notNull().default(false), archivedAt: text('archived_at'), |
