Skip to content

Releases: graze/morphism

Multiple schema directory support

13 Nov 09:51
e940632
Compare
Choose a tag to compare

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

13 Nov 09:48
7b5a352
Compare
Choose a tag to compare
  • Base PHP version upgraded to 5.6.
  • Project now dockerised. See the README for examples of usage.

v3.0.1: Autoload fixes (#47)

10 Jun 15:29
25a76b9
Compare
Choose a tag to compare
  • Autoload fix.
  • Command descriptions.

Symfony console application

10 Jun 14:33
6d81cd4
Compare
Choose a tag to compare

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

18 Apr 09:54
42a542f
Compare
Choose a tag to compare

Added the following character set and collations:

'utf8mb4' => [
    'utf8mb4_general_ci',
    'utf8mb4_unicode_ci',
    'utf8mb4_bin',
]

PHP 7.2 support

09 Jan 18:06
fdd049e
Compare
Choose a tag to compare
  • 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

03 Mar 13:43
Compare
Choose a tag to compare
  • 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.

screen shot 2016-02-03 at 13 45 30

  • Removes the --schema-path command line argument from morphism-diff and morphism-dump. This functionality is now effectively offered by the schemaDefinitionPath directive.

Fastdump now obeys the dbname directive. So configurations containing non-unique schema names are supported.

screen shot 2016-02-03 at 13 49 19

  • Fixes undefined $tableName in Parse\MysqlDump.

v1.1.6

01 Dec 10:03
Compare
Choose a tag to compare
  • Only dump actual tables, ignore views