mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-29 04:09:42 +00:00
Fixing various things
This commit is contained in:
parent
15d63ddffa
commit
bd5cc790d6
14 changed files with 117 additions and 47 deletions
|
|
@ -18,7 +18,7 @@ export const domains = sqliteTable("domains", {
|
|||
});
|
||||
|
||||
export const dnsRecords = sqliteTable("dnsRecords", {
|
||||
id: text("id").primaryKey(),
|
||||
id: integer("id").primaryKey({ autoIncrement: true }),
|
||||
domainId: text("domainId")
|
||||
.notNull()
|
||||
.references(() => domains.domainId, { onDelete: "cascade" }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue