mirror of
https://gh-proxy.org/https://github.com/klinsmaya/portal-template-default.git
synced 2026-11-09 09:39:28 +08:00
8 lines
329 B
Bash
Executable File
8 lines
329 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Apply pending migrations and seeds once through the current NocoBase 3 CLI.
|
|
# Any failure is final; never retry database writes with a historical command.
|
|
set -euo pipefail
|
|
|
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
node "$script_dir/timed-command.mjs" db:apply pnpm exec nocobase db apply
|