Releases: graze/morphism
Releases · graze/morphism
Multiple schema directory support
This release supports schema files being spread across multiple schema directories.
- The
schemaDefinitionPath
config property is now an array.- For backwards compatibility, it will still accept a single value.
- Added multiple schema folder support to the
diff
command. - Added multiple schema folder support to the
dump
command.- If a schema file exists for a given table in any schema directory, it will write out to that file.
- If a schema file does not exist, it will be written out to the first schema directory.
- Added a new
example
build target for setting up an example directory structure and schema.
Docker
- Base PHP version upgraded to 5.6.
- Project now dockerised. See the README for examples of usage.
v3.0.1: Autoload fixes (#47)
- Autoload fix.
- Command descriptions.
Symfony console application
Individual morphism scripts have now been replaced with a single Symfony console application.
Any calls to ./bin/morphism-FOO
should be replaced with ./bin/morphism FOO
. All command arguments remain the same.
Adding support for utf8mb4 character set
Added the following character set and collations:
'utf8mb4' => [
'utf8mb4_general_ci',
'utf8mb4_unicode_ci',
'utf8mb4_bin',
]
PHP 7.2 support
- Added support for PHP 7.2.
composer.lock
added to version control.- Improved code coverage.
- Fixes this error introduced in version 2.1.1:
Argument 1 passed to Graze\Morphism\Extractor::getTableOptionDefs() must be of the type array, object given
v2.0.0 - schemaDefinitionPath
- Adds the 'schemaDefinitionPath' directive allowing the target schema path to be explicitly set and not inferred from the YAML mapping key. This allows multiple databases to point to the same schema definition on the file system.
- Removes the
--schema-path
command line argument frommorphism-diff
andmorphism-dump
. This functionality is now effectively offered by theschemaDefinitionPath
directive.
Fastdump
now obeys the dbname
directive. So configurations containing non-unique schema names are supported.
- Fixes undefined
$tableName
inParse\MysqlDump
.