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:
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user