Diff command

diff [--source SOURCE] [--target TARGET] [--ignore-tables IGNORE-TABLES] [-i|--indent INDENT] [--migration MIGRATION] [--dir DIR] [--template TEMPLATE] [-e|--environment ENVIRONMENT] [-c|--config CONFIG] [-t|--config_type CONFIG_TYPE] [-f|--output-format OUTPUT-FORMAT]

Creates new migration file with migration which is diff between source and target database or migrations and database. This command can be used when upgrading some system to newer version and you know the structure of both old and new version or if you make changes in database and you need to generate migration.

Options:

All other options are common and they are described here.