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

@@ -0,0 +1,4 @@
ALTER TABLE "settings" RENAME COLUMN "module_id" TO "moduleName";--> statement-breakpoint
ALTER TABLE "settings" DROP CONSTRAINT "settings_module_id_modules_module_id_fk";
--> statement-breakpoint
ALTER TABLE "settings" ADD CONSTRAINT "settings_moduleName_modules_name_fk" FOREIGN KEY ("moduleName") REFERENCES "public"."modules"("name") ON DELETE no action ON UPDATE no action;