Add domain type

This commit is contained in:
Owen 2025-06-22 12:58:33 -04:00
parent 317a15b649
commit 9680260104
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
2 changed files with 4 additions and 2 deletions

View file

@ -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", {