mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-18 05:10:43 -06:00
28 lines
508 B
PHP
28 lines
508 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace ShlinkMigrations;
|
||
|
|
||
|
use Doctrine\DBAL\Platforms\MySQLPlatform;
|
||
|
use Doctrine\DBAL\Schema\Schema;
|
||
|
use Doctrine\Migrations\AbstractMigration;
|
||
|
|
||
|
final class Version20240220214031 extends AbstractMigration
|
||
|
{
|
||
|
public function up(Schema $schema): void
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public function down(Schema $schema): void
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public function isTransactional(): bool
|
||
|
{
|
||
|
return ! ($this->connection->getDatabasePlatform() instanceof MySQLPlatform);
|
||
|
}
|
||
|
}
|