add setup.php — one-shot production database setup script
Creates wms + wms2 databases and all 54 tables from scratch using CREATE TABLE IF NOT EXISTS. Reads credentials from app/config.php. Safe to re-run (idempotent). CLI-only guard prevents web access. Dynamic td_stock_<warehouse_id> tables are excluded — the app creates them automatically on first warehouse use. Run: php setup.php Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
94032dd65b
commit
fdf6292466