Make weight proper number
This commit is contained in:
@@ -15,7 +15,9 @@ export const users = pgTable("users", {
|
|||||||
city: text("city"),
|
city: text("city"),
|
||||||
country: text("country"),
|
country: text("country"),
|
||||||
sex: text("sex"),
|
sex: text("sex"),
|
||||||
weight: numeric("weight"),
|
weight: numeric("weight", {
|
||||||
|
mode: "number",
|
||||||
|
}),
|
||||||
createdAt: timestamp("created_at").notNull().defaultNow(),
|
createdAt: timestamp("created_at").notNull().defaultNow(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user