updated schema

This commit is contained in:
christian 2024-05-27 22:33:25 +02:00
parent 1a9c96381e
commit 0bb5cdc760

@ -18,7 +18,7 @@ export const producers = createTable(
{ {
id: uuid("id").primaryKey().defaultRandom(), id: uuid("id").primaryKey().defaultRandom(),
name: text("name").notNull(), name: text("name").notNull(),
description: text("description").notNull(), description: text("description"),
imageUrl: text('imageUrl'), imageUrl: text('imageUrl'),
countryId: uuid("countryId").notNull(), countryId: uuid("countryId").notNull(),
createdAt: timestamp("createdAt").defaultNow().notNull(), createdAt: timestamp("createdAt").defaultNow().notNull(),