Dropped company email column, made link and description optional

This commit is contained in:
Om Lanke
2025-09-22 20:01:32 +05:30
parent 425475c027
commit 4e2bd94227
7 changed files with 1628 additions and 22 deletions

View File

@@ -188,9 +188,8 @@ export const gradeRelations = relations(grades, ({ one }) => ({
export const companies = pgTable('companies', {
id: serial().primaryKey(),
name: text().notNull(),
email: text().notNull(),
link: text().notNull(),
description: text().notNull(),
link: text(),
description: text(),
// passwordHash: text(),
imageURL: text().notNull(),
createdAt: timestamp().notNull().defaultNow(),