rename posterg → xamxam throughout: nginx conf, scripts, PHP source, docs

This commit is contained in:
Pontoporeia
2026-04-30 10:50:23 +02:00
parent 3e35bbc40f
commit c949cf9481
31 changed files with 283 additions and 267 deletions

View File

@@ -2,14 +2,14 @@
# Initialise the Post-ERG SQLite database from schema.sql.
# Safe to run on existing databases — schema uses IF NOT EXISTS / INSERT OR IGNORE.
# Usage:
# scripts/migrate.sh # posterg.db (default)
# scripts/migrate.sh # xamxam.db (default)
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
APP_DIR="$REPO_ROOT/app"
SCHEMA="$APP_DIR/storage/schema.sql"
PROD_DB="$APP_DIR/storage/posterg.db"
PROD_DB="$APP_DIR/storage/xamxam.db"
init_db() {
local db="$1"
@@ -19,4 +19,4 @@ init_db() {
echo " [$label] done"
}
init_db "$PROD_DB" "posterg.db"
init_db "$PROD_DB" "xamxam.db"