Thanakorn SandClaude Sonnet 4.6 fdf6292466 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>
2026-05-21 15:21:36 +07:00
2026-05-12 14:11:00 +07:00
2026-05-20 10:17:02 +07:00
2026-05-12 13:55:39 +07:00
2026-05-12 13:55:39 +07:00
2026-05-12 14:11:00 +07:00
S
Description
No description provided
211 MiB
Languages
PHP 95.7%
JavaScript 2.2%
CSS 1.7%
Python 0.3%