Fixing various things

This commit is contained in:
Owen
2025-10-27 17:52:39 -07:00
parent 15d63ddffa
commit bd5cc790d6
14 changed files with 117 additions and 47 deletions

View File

@@ -27,7 +27,7 @@ export const domains = pgTable("domains", {
export const dnsRecords = pgTable("dnsRecords", {
id: varchar("id").primaryKey(),
id: serial("id").primaryKey(),
domainId: varchar("domainId")
.notNull()
.references(() => domains.domainId, { onDelete: "cascade" }),