diff --git a/server/db/pg/schema.ts b/server/db/pg/schema.ts index dc270bcb..f256966e 100644 --- a/server/db/pg/schema.ts +++ b/server/db/pg/schema.ts @@ -12,7 +12,8 @@ import { InferSelectModel } from "drizzle-orm"; export const domains = pgTable("domains", { domainId: varchar("domainId").primaryKey(), baseDomain: varchar("baseDomain").notNull(), - configManaged: boolean("configManaged").notNull().default(false) + configManaged: boolean("configManaged").notNull().default(false), + type: varchar("type").notNull(), // "ns", "cname", "a" }); export const orgs = pgTable("orgs", { diff --git a/server/db/sqlite/schema.ts b/server/db/sqlite/schema.ts index 615f0bc7..38c0fc2e 100644 --- a/server/db/sqlite/schema.ts +++ b/server/db/sqlite/schema.ts @@ -6,7 +6,8 @@ export const domains = sqliteTable("domains", { baseDomain: text("baseDomain").notNull(), configManaged: integer("configManaged", { mode: "boolean" }) .notNull() - .default(false) + .default(false), + type: text("type").notNull(), // "ns", "cname", "a" }); export const orgs = sqliteTable("orgs", {