finally building

This commit is contained in:
Om Lanke
2025-07-02 12:05:38 +05:30
parent ba6ee585dc
commit 449629ece2
40 changed files with 2253 additions and 3711 deletions

View File

@@ -12,6 +12,8 @@ import {
check,
} from 'drizzle-orm/pg-core';
export { createSelectSchema } from 'drizzle-zod';
export const students = pgTable('students', {
id: serial().primaryKey(),
email: text().notNull(),
@@ -262,7 +264,6 @@ export const applicationsRelations = relations(applications, ({ one }) => ({
references: [resumes.id],
}),
}));
export const admins = pgTable('admins', {
id: serial().primaryKey(),
email: text().notNull().unique(),
@@ -272,3 +273,4 @@ export const admins = pgTable('admins', {
.$onUpdate(() => new Date())
.notNull(),
});