Automated Schema Synchronization
= esc($msg) ?>
Compares master schema file (or optional master DB) with client DB schema and generates
CREATE TABLE IF NOT EXISTS / ALTER TABLE statements.
Default mode is offline: export master schema JSON on master system, then use same file on client system.
Optional DB-to-DB mode can be configured in .env if both DBs are reachable.
= esc($err) ?>
Master tables: = esc((string) ($sync_result['summary']['master_tables'] ?? 0)) ?>,
processed tables: = esc((string) ($sync_result['summary']['processed_tables'] ?? 0)) ?>/= esc((string) ($sync_result['summary']['max_tables_per_run'] ?? 0)) ?>,
create statements: = esc((string) ($sync_result['summary']['create_tables'] ?? 0)) ?>,
alter statements: = esc((string) ($sync_result['summary']['alter_statements'] ?? 0)) ?>.
Applied: = esc((string) ($sync_result['applied'] ?? 0)) ?>.
Schema sync run was truncated to configured max tables per run.
Increase
setup.sync.max_tables_per_run in .env if needed.
Apply Errors:
= esc($err) ?>