Updated doctrine config for v3

This commit is contained in:
Alejandro Celaya 2020-06-15 18:35:53 +02:00
parent 56d690d9a6
commit b4e58cc1bb
2 changed files with 7 additions and 4 deletions

View file

@ -20,7 +20,7 @@
"cocur/slugify": "^4.0", "cocur/slugify": "^4.0",
"doctrine/cache": "^1.9", "doctrine/cache": "^1.9",
"doctrine/dbal": "^2.10", "doctrine/dbal": "^2.10",
"doctrine/migrations": "^2.2", "doctrine/migrations": "^3.0.1",
"doctrine/orm": "^2.7", "doctrine/orm": "^2.7",
"endroid/qr-code": "^3.6", "endroid/qr-code": "^3.6",
"geoip2/geoip2": "^2.9", "geoip2/geoip2": "^2.9",

View file

@ -4,8 +4,11 @@ declare(strict_types=1);
return [ return [
'name' => 'ShlinkMigrations', 'name' => 'ShlinkMigrations',
'migrations_namespace' => 'ShlinkMigrations', 'migrations_paths' => [
'table_name' => 'migrations', 'ShlinkMigrations' => 'data/migrations',
'migrations_directory' => 'data/migrations', ],
'table_storage' => [
'table_name' => 'migrations',
],
'custom_template' => 'data/migrations_template.txt', 'custom_template' => 'data/migrations_template.txt',
]; ];