export const category = pgTable("category", {
id: uuid("id").primaryKey().defaultRandom(),
slug: varchar("slug", { length: 255 }).notNull(),
name: varchar("name", { length: 255 }).notNull(),
parent_id: uuid("parent_id").references((): AnyPgColumn => category.id)
});
export const category = pgTable("category", {
id: uuid("id").primaryKey().defaultRandom(),
slug: varchar("slug", { length: 255 }).notNull(),
name: varchar("name", { length: 255 }).notNull(),
parent_id: uuid("parent_id").references((): AnyPgColumn => category.id)
});