Fix migrations

This commit is contained in:
Jeremy Benoist
2022-12-20 23:30:54 +01:00
parent 6b5a518ce2
commit a8a4a4b1f8
9 changed files with 2 additions and 164 deletions

View File

@ -13,7 +13,7 @@ class Version20170606155640 extends WallabagMigration
{
public function up(Schema $schema): void
{
$this->skipIf(!$schema->hasTable($this->getTable('craue_config_setting')), 'Table already renamed');
$this->skipIf(!$schema->hasTable($this->getTable('craue_config_setting')), 'Old migration (table name has changed)');
$apiUserRegistration = $this->container
->get('doctrine.orm.default_entity_manager')