Ticket #4
Fresh install bootstrap — auto-run schema.sql on first boot
closed
task
high
-
2026-05-22T03:32:51Z
2026-05-27 14:28:54
Description
New installs currently require manual DB setup. schema.sql should be detected and applied automatically on first container boot (check for empty DB, run migrations, seed required rows). Needed before first client ships.
Ticket Events
-
comment
—
Fixed. wait-for-mariadb.sh now detects a fresh install (checks for aircraft table absence) and auto-applies db/schema.sql before launching the app. Handles UTF-16 schema guard, DB_HOST/DB_USER/DB_PASSWORD env vars, and MYSQL_PWD to avoid credentials on the command line.
2026-05-27 14:28:55
-
status_change
—
closed
2026-05-27 14:28:55
Add Comment