diff --git a/migrations/Version20161001072726.php b/migrations/Version20161001072726.php index b8870fbc0..c90604bb3 100644 --- a/migrations/Version20161001072726.php +++ b/migrations/Version20161001072726.php @@ -2,11 +2,11 @@ namespace Application\Migrations; -use Doctrine\DBAL\Migrations\SkipMigrationException; use Doctrine\DBAL\Platforms\MySQLPlatform; use Doctrine\DBAL\Platforms\PostgreSQLPlatform; use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\Exception\SkipMigration; use Wallabag\Doctrine\WallabagMigration; /** @@ -102,6 +102,6 @@ class Version20161001072726 extends WallabagMigration public function down(Schema $schema): void { - throw new SkipMigrationException('Too complex ...'); + throw new SkipMigration('Too complex ...'); } } diff --git a/migrations/Version20170511211659.php b/migrations/Version20170511211659.php index 8c93bc96e..b3b3c41f9 100644 --- a/migrations/Version20170511211659.php +++ b/migrations/Version20170511211659.php @@ -2,11 +2,11 @@ namespace Application\Migrations; -use Doctrine\DBAL\Migrations\SkipMigrationException; use Doctrine\DBAL\Platforms\MySQLPlatform; use Doctrine\DBAL\Platforms\PostgreSQLPlatform; use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\Exception\SkipMigration; use Wallabag\Doctrine\WallabagMigration; /** @@ -75,7 +75,7 @@ EOD switch (true) { case $platform instanceof SqlitePlatform: - throw new SkipMigrationException('Too complex ...'); + throw new SkipMigration('Too complex ...'); break; case $platform instanceof MySQLPlatform: $this->addSql('ALTER TABLE ' . $tableName . ' MODIFY quote VARCHAR(255) NOT NULL'); diff --git a/migrations/Version20190510141130.php b/migrations/Version20190510141130.php index 9ac23b77a..390e4afe6 100644 --- a/migrations/Version20190510141130.php +++ b/migrations/Version20190510141130.php @@ -2,11 +2,11 @@ namespace Application\Migrations; -use Doctrine\DBAL\Migrations\SkipMigrationException; use Doctrine\DBAL\Platforms\MySQLPlatform; use Doctrine\DBAL\Platforms\PostgreSQLPlatform; use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\Exception\SkipMigration; use Wallabag\Doctrine\WallabagMigration; /** @@ -98,6 +98,6 @@ final class Version20190510141130 extends WallabagMigration public function down(Schema $schema): void { - throw new SkipMigrationException('Too complex ...'); + throw new SkipMigration('Too complex ...'); } } diff --git a/migrations/Version20200414120227.php b/migrations/Version20200414120227.php index e84d8d322..fa61b2a40 100644 --- a/migrations/Version20200414120227.php +++ b/migrations/Version20200414120227.php @@ -2,8 +2,8 @@ namespace Application\Migrations; -use Doctrine\DBAL\Migrations\SkipMigrationException; use Doctrine\DBAL\Schema\Schema; +use Doctrine\Migrations\Exception\SkipMigration; use Wallabag\Doctrine\WallabagMigration; /** @@ -18,6 +18,6 @@ final class Version20200414120227 extends WallabagMigration public function down(Schema $schema): void { - throw new SkipMigrationException('Not possible ... '); + throw new SkipMigration('Not possible ... '); } }