diff --git a/src/schema.ts b/src/schema.ts index a449c23..3a9536d 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -69,6 +69,7 @@ export const ProductsTable = pgTable("products", { .varchar("slug_name", { length: 32, }) + .unique() .notNull(), //displayName