Fixed database migrations.

Should fix issue #75.
This commit is contained in:
Jan Böhmer 2020-07-06 21:18:41 +02:00
parent 7c16ee299b
commit 7300a3d9b5
2 changed files with 4 additions and 1 deletions

View file

@ -12,3 +12,6 @@ doctrine_migrations:
version_column_length: 191
executed_at_column_name: 'executed_at'
execution_time_column_name: 'execution_time'
all_or_nothing: false
check_database_platform: true

View file

@ -52,7 +52,7 @@ final class Version20190902140506 extends AbstractMultiPlatformMigration
}
//Deactive SQL Modes (especially NO_ZERO_DATE, which prevents updating)
//$this->addSql("SET sql_mode = ''");
$this->addSql("SET sql_mode = ''");
//Rename attachment tables (fix typos)
$this->addSql('RENAME TABLE `attachement_types` TO `attachment_types`;');