Error creating organization
SERVER_ERROR: [Error [BetterAuthError]: The field "slug" does not exist in the schema for the model "organization". Please update your schema.] {
cause: undefined
}
export const organization = pgTable("organization", {
id: text("id").primaryKey(),
name: text("name").notNull(),
slug: text("slug").unique(),
logo: text("logo"),
createdAt: timestamp("created_at").notNull(),
metadata: text("metadata"),
});

0 Replies