Update database schema. Client rules are randomly deleted because of the foreign key. Remove all foreign keys from db schema

This commit is contained in:
2026-09-21 14:14:54 +01:00
parent d52c584c8f
commit b0536765ce
3 changed files with 2 additions and 16 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ install_dependencies() {
log "installing app dependencies with bun ..."
cd "$INSTALL_DIR"
"$BUN_BIN" install
"$BUN_BIN" db:schema
"$BUN_BIN" bun-sqlite schema
}
ensure_env_file() {
+1 -1
View File
@@ -13,7 +13,7 @@ const port = SiteData["ServerPort"];
await bunext.bunextInit();
const server = Bun.serve({
hostname: "0.0.0.0",
hostname: development ? "localhost" : "0.0.0.0",
async fetch(req, server) {
try {
const url = new URL(req.url);