bootstrapped

This commit is contained in:
Milo Schwartz
2024-09-27 21:39:03 -04:00
parent b7c1716fa7
commit d2e35b4a1f
24 changed files with 15511 additions and 5203 deletions

10
server/db/schema.ts Normal file
View File

@@ -0,0 +1,10 @@
import { InferSelectModel } from "drizzle-orm";
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
export const schools = sqliteTable("schools", {
id: integer("id").primaryKey({ autoIncrement: true }),
name: text("name"),
abbreviation: text("abbreviation"),
});
export type SelectSchoolType = InferSelectModel<typeof schools>;