From 4292d3262e777780f8309c5fa7e4dec19e111efb Mon Sep 17 00:00:00 2001 From: Owen Date: Wed, 3 Sep 2025 17:34:16 -0700 Subject: [PATCH] Add niceId to resource --- server/db/pg/schema.ts | 1 + server/db/sqlite/schema.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/server/db/pg/schema.ts b/server/db/pg/schema.ts index 8e725ab1..624b4a61 100644 --- a/server/db/pg/schema.ts +++ b/server/db/pg/schema.ts @@ -71,6 +71,7 @@ export const resources = pgTable("resources", { onDelete: "cascade" }) .notNull(), + niceId: text("niceId"), // TODO: SHOULD THIS BE NULLABLE? name: varchar("name").notNull(), subdomain: varchar("subdomain"), fullDomain: varchar("fullDomain"), diff --git a/server/db/sqlite/schema.ts b/server/db/sqlite/schema.ts index c3e79291..190a71fa 100644 --- a/server/db/sqlite/schema.ts +++ b/server/db/sqlite/schema.ts @@ -77,6 +77,7 @@ export const resources = sqliteTable("resources", { onDelete: "cascade" }) .notNull(), + niceId: text("niceId"), // TODO: SHOULD THIS BE NULLABLE? name: text("name").notNull(), subdomain: text("subdomain"), fullDomain: text("fullDomain"),