Add rewrite

This commit is contained in:
2025-05-22 13:48:15 +03:00
parent 71d360ea1f
commit 16a4ea0949
19 changed files with 746 additions and 61 deletions

View File

@@ -6,6 +6,7 @@ import {
numeric,
timestamp,
jsonb,
boolean,
} from "drizzle-orm/pg-core";
export const users = pgTable("users", {
@@ -15,6 +16,9 @@ export const users = pgTable("users", {
city: text("city"),
country: text("country"),
sex: text("sex"),
premium: boolean("premium")
.notNull()
.$defaultFn(() => false),
weight: numeric("weight", {
mode: "number",
}),