upd
This commit is contained in:
@@ -7,7 +7,7 @@ import { usersTable } from "./users";
|
||||
export const clientsTable = pgTable("clients", {
|
||||
id: uuid("id").defaultRandom().primaryKey(),
|
||||
name: varchar("name").notNull(),
|
||||
phone: varchar("phone", { length: 11 }).notNull(),
|
||||
phone: varchar("phone", { length: 11 }).unique().notNull(),
|
||||
email: varchar("email"),
|
||||
ownerId: uuid("owner_id")
|
||||
.notNull()
|
||||
|
||||
Reference in New Issue
Block a user