mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 05:45:33 +08:00
Start of new tests
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user