mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-12 19:18:30 +00:00
Initial pass at migrations
This commit is contained in:
@@ -356,6 +356,11 @@ export const resourceOtp = sqliteTable("resourceOtp", {
|
||||
expiresAt: integer("expiresAt").notNull()
|
||||
});
|
||||
|
||||
export const versionMigrations = sqliteTable("versionMigrations", {
|
||||
version: text("version").primaryKey(),
|
||||
executedAt: integer("executedAt").notNull()
|
||||
});
|
||||
|
||||
export type Org = InferSelectModel<typeof orgs>;
|
||||
export type User = InferSelectModel<typeof users>;
|
||||
export type Site = InferSelectModel<typeof sites>;
|
||||
|
||||
Reference in New Issue
Block a user