feat: +pol bfs server

This commit is contained in:
2026-02-17 16:13:58 +00:00
parent 7490ef2fe9
commit d7ada535d4
4 changed files with 49 additions and 38 deletions

View File

@@ -16,7 +16,7 @@ set -eu
VERSION='0.0.1'
MIGRATION_DIR="${MIGRATION_DIR:-migration}"
DB_URL="${DB_URL:-DB_URL}"
: "${DB_URL:=DB_URL}"
REMAINING_ARS=
quote() { printf "'%s'" "$(printf %s "$1" | sed "s/'/'\\\\''/g")"; }
@@ -80,7 +80,7 @@ db_exec() {
sqlite)
local db_path
db_path=$(get_sqlite_path)
# Use -batch for non-interactive execution
# NOTE: Use -batch for non-interactive execution
printf '%s' "$sql" | sqlite3 -batch "$db_path"
;;
esac