Automated Schema Synchronization
= esc($msg) ?>
Installation Diagnostics (Errors)
= esc($diagErr) ?>
Installation Diagnostics (Warnings)
= esc($diagWarn) ?>
Installation Diagnostics (Info)
= esc($diagInfo) ?>
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) ?>
Apply phase was truncated to prevent request timeout.
Re-run Apply Sync to Client DB to continue remaining statements,
or increase
setup.sync.max_apply_statements_per_run / setup.sync.max_runtime_seconds in .env.
Seed Apply Errors:
= esc($seedErr) ?>
Seed data applied successfully.
Rows upserted: = esc((string) ($seedResult['applied'] ?? 0)) ?>,
tables skipped: = esc((string) ($seedResult['skipped'] ?? 0)) ?>.
$displayLimit) : ?>
Showing first = $displayLimit ?> of = $totalSqlLines ?> statements.
Use Apply Sync to Client DB to execute all statements.