2018-11-23 04:18:20 +00:00
|
|
|
<?php
|
|
|
|
/** @license MIT
|
|
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers \JKingWeb\Arsse\Db\PostgreSQL\PDODriver<extended>
|
|
|
|
* @covers \JKingWeb\Arsse\Db\PDODriver
|
|
|
|
* @covers \JKingWeb\Arsse\Db\PDOError */
|
|
|
|
class TestDriver extends \JKingWeb\Arsse\TestCase\Db\BaseDriver {
|
2018-11-27 19:26:33 +00:00
|
|
|
protected static $implementation = "PDO PostgreSQL";
|
2018-11-23 04:18:20 +00:00
|
|
|
protected $create = "CREATE TABLE arsse_test(id bigserial primary key)";
|
2018-11-27 19:26:33 +00:00
|
|
|
protected $lock = ["BEGIN", "LOCK TABLE arsse_test IN EXCLUSIVE MODE NOWAIT"];
|
2018-11-23 04:18:20 +00:00
|
|
|
protected $setVersion = "UPDATE arsse_meta set value = '#' where key = 'schema_version'";
|
|
|
|
}
|