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

@@ -113,4 +113,9 @@ abstract class AbstractMigration extends BaseAbstractMigration
$this->addSql('DROP INDEX ' . $indexName . ' ON ' . $tableName);
}
protected function preventEmptyMigrationWarning(): void
{
$this->addSql('#prevent empty warning - no SQL to execute');
}
}