feat(server): added in a default set of settings that will be checked on startup

This commit is contained in:
2025-03-06 19:33:36 -06:00
parent 71a951a9f2
commit 4195b9e8bc
17 changed files with 3478 additions and 6 deletions

View File

@@ -10,9 +10,8 @@ export const settings = pgTable(
name: text("name").notNull(),
value: text("value").notNull(),
description: text("description"),
module_id: uuid("module_id")
.notNull()
.references(() => modules.module_id),
//moduleName: text("moduleName").references(() => modules.name),
moduleName: text("moduleName"),
roles: jsonb("roles").notNull().default(["systemAdmin"]),
add_User: text("add_User").default("LST_System").notNull(),
add_Date: timestamp("add_Date").defaultNow(),