Start of new tests

This commit is contained in:
Chris Harris
2016-02-22 08:39:41 -08:00
parent db5399b124
commit 13823834e2
2 changed files with 50 additions and 0 deletions

View File

@@ -37,6 +37,16 @@ class SqliteQueryBuilderTest extends QueryBuilderTest
$this->primaryKey(8)->check('value > 5'),
'integer PRIMARY KEY AUTOINCREMENT NOT NULL CHECK (value > 5)'
],
[
Schema::TYPE_PK,
$this->primaryKey()->first()->after('col_before'),
'int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY'
],
[
Schema::TYPE_PK . '(8)',
$this->primaryKey(8)->first()->after('col_before'),
'int(8) NOT NULL AUTO_INCREMENT PRIMARY KEY'
],
[
Schema::TYPE_CHAR,
$this->char(),