Skip to content

Commit be2a906

Browse files
authored
Update deprecated phinx config (#808)
Error message when running phinx commands: ``` Deprecated: default_database in the config has been deprecated since 0.12, use default_environment instead. in /var/www/html/vendor/robmorgan/phinx/src/Phinx/Config/Config.php on line 223 ```
1 parent df01ced commit be2a906

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

phinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ paths:
1111
migrations: '%%PHINX_CONFIG_DIR%%/db/migrations'
1212
environments:
1313
default_migration_table: phinxlog
14-
default_database: development
14+
default_environment: development
1515
development:
1616
adapter: mysql
1717
host: 127.0.0.1

0 commit comments

Comments
 (0)