mirror of
https://github.com/fosrl/pangolin.git
synced 2026-10-29 15:09:07 +01:00
Adjust how multi record items are stored
This commit is contained in:
@@ -56,7 +56,7 @@ export const customDnsRecords = pgTable(
|
||||
type: varchar("type", { length: 10 })
|
||||
.$type<"A" | "AAAA" | "CNAME" | "MX" | "NS" | "SRV" | "TXT">()
|
||||
.notNull(),
|
||||
value: text("value").notNull(),
|
||||
values: text("values").notNull(), // JSON array of strings, one resource record each
|
||||
ttl: integer("ttl").notNull().default(300),
|
||||
priority: integer("priority"), // MX and SRV
|
||||
weight: integer("weight"), // SRV
|
||||
|
||||
Reference in New Issue
Block a user