Add checkin limits and progress statistics
This commit is contained in:
1 parent
cf94b1ba32
commit
8b2d1275cf
7 files changed
+83
-10
No files matched your search
@@ -6,5 +6,7 @@ export const progress = sqliteTable("progress", {
|
||||
doneTasks: text("done_tasks").notNull().default("[]"),
|
||||
mood: text("mood").notNull().default(""),
|
||||
note: text("note").notNull().default(""),
|
||||
checkinType: text("checkin_type").notNull().default("normal"),
|
||||
checkedAt: text("checked_at").notNull().default(sql`CURRENT_TIMESTAMP`),
|
||||
updatedAt: text("updated_at").notNull().default(sql`CURRENT_TIMESTAMP`),
|
||||
}, (t) => [primaryKey({ columns: [t.userId, t.planDate] })]);
|
||||
Reference in new issue
Block a user