Rearange site table?

This commit is contained in:
Owen Schwartz 2024-10-14 23:50:58 -04:00
parent 84e118d1fa
commit 68e5ec2d88
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
3 changed files with 18 additions and 18 deletions

View file

@ -12,7 +12,7 @@ export const sites = sqliteTable("sites", {
orgId: text("orgId").references(() => orgs.orgId, {
onDelete: "cascade",
}),
niceId: text("niceId"),
niceId: text("niceId").notNull(),
exitNode: integer("exitNode").references(() => exitNodes.exitNodeId, {
onDelete: "set null",
}),