Drop SQLite support (#2405)
This commit is contained in:
@@ -26,21 +26,6 @@ final class Version20191108151534 extends AbstractMigration
|
||||
return 'Adds the user roles and role permissions 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
|
||||
{
|
||||
$roles = $schema->createTable('kimai2_roles');
|
||||
|
||||
Reference in New Issue
Block a user