All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Support for Symfony 5
- Support for PHP 8
- Support for Symfony 3 and 4
- PHP 7.4 is now the minimum required version
- the config property
paysera_database_init.directories
is now required to avoid additional unclear error messages
- Support for Symfony 4
- Support for Symfony 2
- Sql export features - exports can be configured by groups of tables and/or by specifying an
invert
export group (tables in specified group will be excluded from the export) - A new config property is required now:
paysera_database_init.directories.structure
- it specifies were would be placed database structure sqls
paysera_database_init:
directories:
sql:
initial: &initial '%kernel.root_dir%/sql/initial'
other: &other '%kernel.root_dir%/sql/other'
fixtures:
main: '%kernel.root_dir%/Fixtures'
structure: *initial
exports:
configuration:
name: configuration
tables:
- config_table_1
- config_table_2
directory: *initial
data:
name: data
invert_tables_from: configuration
directory: *initial
- Initializer priorities are now handled for lowest to highest number. Due to this, default priorities are changed as well.
- DatabaseInitializerInterface:initialize now requires initializer name to be passed.
- Support of 2nd argument:
bin/console paysera:db-init:init {initializer} {set}
- Bundle configuration now accepts key-value sets for directories. Key should be used as
set
name above:
paysera_database_init:
directories:
sql:
initial: '%kernel.root_dir%/sql/initial'
other: '%kernel.root_dir%/sql/other'
fixtures:
main: '%kernel.root_dir%/Fixtures'
- Support of specific single initializer to run:
bin/console paysera:db-init:init sql
- will execute onlySqlInitializer
. If no argument is specified, all initializers will be executed.
InitializationReport
andInitializationMessage
- command now prints useful info.
- Initial release