2020-08-29 21:28:45 +00:00
|
|
|
<?php
|
|
|
|
/* Destructr | https://github.com/jobyone/destructr | MIT License */
|
2022-05-27 16:44:41 +00:00
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-08-29 21:28:45 +00:00
|
|
|
namespace Destructr\Drivers\SQLite;
|
|
|
|
|
|
|
|
use Destructr\Drivers\AbstractSQLDriverSchemaChangeTest;
|
|
|
|
use Destructr\Drivers\SQLiteDriver;
|
|
|
|
|
|
|
|
class SQLiteDriverSchemaChangeTest extends AbstractSQLDriverSchemaChangeTest
|
|
|
|
{
|
|
|
|
const DRIVER_CLASS = SQLiteDriver::class;
|
|
|
|
|
|
|
|
public static function setUpBeforeClass()
|
|
|
|
{
|
2022-05-27 16:44:41 +00:00
|
|
|
@unlink(__DIR__ . '/schema.test.sqlite');
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function DRIVER_DSN()
|
|
|
|
{
|
|
|
|
return 'sqlite:' . __DIR__ . '/schema.test.sqlite';
|
|
|
|
}
|
|
|
|
|
|
|
|
protected static function DRIVER_DBNAME()
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
protected static function DRIVER_USERNAME()
|
|
|
|
{
|
|
|
|
return null;
|
2020-08-29 21:28:45 +00:00
|
|
|
}
|
|
|
|
}
|