prevent empty migration warning (#2901)

This commit is contained in:
Kevin Papst
2021-11-03 15:48:42 +01:00
committed by GitHub
parent d4278996ae
commit 2bc76e7adc
8 changed files with 20 additions and 0 deletions

View File

@@ -39,9 +39,12 @@ final class Version20191113132640 extends AbstractMigration
$timesheetTags->removeForeignKey('FK_732EECA9BAD26311');
}
$timesheetTags->addForeignKeyConstraint('kimai2_tags', ['tag_id'], ['id'], ['onDelete' => 'CASCADE'], 'FK_732EECA9BAD26311');
$this->preventEmptyMigrationWarning();
}
public function down(Schema $schema): void
{
$this->preventEmptyMigrationWarning();
}
}