mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-21 04:16:38 +00:00
bootstrapped
This commit is contained in:
10
server/db/schema.ts
Normal file
10
server/db/schema.ts
Normal 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>;
|
||||
Reference in New Issue
Block a user