miniflux-legacy/vendor/fguillot/picodb/tests/SchemaFixture.php
2015-08-14 21:33:39 -04:00

20 lines
277 B
PHP

<?php
namespace Schema;
function version_1($pdo)
{
$pdo->exec('CREATE TABLE test1 (column1 TEXT)');
}
function version_2($pdo)
{
$pdo->exec('CREATE TABLE test2 (column2 TEXT)');
}
function version_3($pdo)
{
// Simulate an error
$pdo->exec('CREATE TABL');
}