diff --git a/composer.json b/composer.json index 997f8558..86e35f3f 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "cocur/slugify": "^4.0", "doctrine/cache": "^1.9", "doctrine/dbal": "^2.10", - "doctrine/migrations": "^2.2", + "doctrine/migrations": "^3.0.1", "doctrine/orm": "^2.7", "endroid/qr-code": "^3.6", "geoip2/geoip2": "^2.9", diff --git a/migrations.php b/migrations.php index 364f52ad..0341745e 100644 --- a/migrations.php +++ b/migrations.php @@ -4,8 +4,11 @@ declare(strict_types=1); return [ 'name' => 'ShlinkMigrations', - 'migrations_namespace' => 'ShlinkMigrations', - 'table_name' => 'migrations', - 'migrations_directory' => 'data/migrations', + 'migrations_paths' => [ + 'ShlinkMigrations' => 'data/migrations', + ], + 'table_storage' => [ + 'table_name' => 'migrations', + ], 'custom_template' => 'data/migrations_template.txt', ];