This commit is contained in:
Owen Schwartz 2024-10-14 21:59:43 -04:00
commit 9e7c48204a
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
6 changed files with 181 additions and 94 deletions

View file

@ -1,5 +1,5 @@
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
import { InferSelectModel } from "drizzle-orm";
import { InferSelectModel} from "drizzle-orm";
export const orgs = sqliteTable("orgs", {
orgId: text("orgId").primaryKey(),
@ -17,7 +17,6 @@ export const sites = sqliteTable("sites", {
onDelete: "set null",
}),
name: text("name").notNull(),
subdomain: text("subdomain"),
pubKey: text("pubKey"),
subnet: text("subnet"),
megabytesIn: integer("bytesIn"),