exp:ezsqldiff
Show the differences between two database schemas; the exit code tells if they differ.
Script bin/php/ezsqldiff.php, code in kernel/private/classes/commands/ezsqldiff.php. Run it from the installation root, as the user the web server runs as:
./console exp:ezsqldiff --help
php bin/php/ezsqldiff.php --helpOptions
| Option | Value | Help |
|---|---|---|
--source-type | required | |
--source-host | required | |
--source-user | required | |
--source-password | optional | |
--source-socket | required | |
--match-type | required | |
--match-host | required | |
--match-user | required | |
--match-password | optional | |
--match-socket | required | |
-t | required | |
--type | required | |
--host | required | |
-u | required | |
--user | required | |
-p | required | |
--password | optional | |
--socket | required | |
--lint-check | ||
--reverse | ||
--check-only |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Arguments: [source][match].
Related
Generated by ./console exp:help:examples from bin/php/ezsqldiff.php, kernel/private/classes/commands/ezsqldiff.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.