Add resource niceId

This commit is contained in:
Owen
2025-09-08 17:37:30 -07:00
parent 64722617c1
commit a947a74194
7 changed files with 84 additions and 29 deletions

View File

@@ -71,7 +71,7 @@ export const resources = pgTable("resources", {
onDelete: "cascade"
})
.notNull(),
niceId: text("niceId"), // TODO: SHOULD THIS BE NULLABLE?
niceId: text("niceId").notNull(),
name: varchar("name").notNull(),
subdomain: varchar("subdomain"),
fullDomain: varchar("fullDomain"),

View File

@@ -77,7 +77,7 @@ export const resources = sqliteTable("resources", {
onDelete: "cascade"
})
.notNull(),
niceId: text("niceId"), // TODO: SHOULD THIS BE NULLABLE?
niceId: text("niceId").notNull(),
name: text("name").notNull(),
subdomain: text("subdomain"),
fullDomain: text("fullDomain"),