prepare release 1.2 (#1059)

This commit is contained in:
Kevin Papst
2019-08-27 18:37:42 +02:00
committed by GitHub
parent 8fb0b1445a
commit 94f8159fdc
6 changed files with 25 additions and 5 deletions

View File

@@ -26,6 +26,21 @@ final class Version20190729162655 extends AbstractMigration
return 'Fixes foreign keys on tag table';
}
protected function isSupportingForeignKeys(): bool
{
return false;
}
public function isTransactional(): bool
{
if ($this->isPlatformSqlite()) {
// does fail if we use transactions, as tables are re-created and foreign keys would fail
return false;
}
return true;
}
public function up(Schema $schema): void
{
$timesheetTags = $schema->getTable('kimai2_timesheet_tags');