0d1677a9b4
* saves schemas to database, uses those schemas - still need to finish methods for update/add/remove operations on columns, for updating schemas * fix for schema table creation * possible test fixes * possibly working, dropped some non-integration tests that didn't work with schema changes * seems working, but still needs schema updating * mysql's schema updates seem to be working * mariadb driver tests * change to how saving schema for createTable works * very basic tests for schema management * test that schemas are updated in schema table
21 lines
597 B
PHP
21 lines
597 B
PHP
<?php
|
|
/* Destructr | https://github.com/jobyone/destructr | MIT License */
|
|
declare (strict_types = 1);
|
|
namespace Destructr\Drivers\SQLite;
|
|
|
|
use Destructr\Drivers\AbstractSQLDriverTest;
|
|
use Destructr\Drivers\SQLiteDriver;
|
|
|
|
class SQLiteDriverTest extends AbstractSQLDriverTest
|
|
{
|
|
const DRIVER_CLASS = SQLiteDriver::class;
|
|
const DRIVER_DSN = 'sqlite:'.__DIR__.'/driver.test.sqlite';
|
|
const DRIVER_USERNAME = 'root';
|
|
const DRIVER_PASSWORD = '';
|
|
const DRIVER_OPTIONS = null;
|
|
|
|
public static function setUpBeforeClass()
|
|
{
|
|
@unlink(__DIR__.'/driver.test.sqlite');
|
|
}
|
|
}
|