Feed the database
This commit is contained in:
@@ -9,9 +9,9 @@ export const users = sqliteTable("users", {
|
||||
country: text("country"),
|
||||
sex: text("sex"),
|
||||
weight: integer("weight"),
|
||||
createdAt: integer("created_at", { mode: "timestamp" })
|
||||
.notNull()
|
||||
.$defaultFn(() => new Date()),
|
||||
createdAt: integer("created_at", { mode: "timestamp" }).$defaultFn(
|
||||
() => new Date(),
|
||||
),
|
||||
});
|
||||
|
||||
export const preferences = sqliteTable("preferences", {
|
||||
|
||||
Reference in New Issue
Block a user