mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 05:45:33 +08:00
Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys.
This commit is contained in:
@@ -16,7 +16,7 @@ class SqliteQueryBuilderTest extends QueryBuilderTest
|
||||
|
||||
public function columnTypes()
|
||||
{
|
||||
return parent::columnTypes() + [
|
||||
return array_merge(parent::columnTypes(), [
|
||||
[
|
||||
Schema::TYPE_PK . '(8)',
|
||||
$this->primaryKey(8)->first()->after('col_before'),
|
||||
@@ -27,7 +27,7 @@ class SqliteQueryBuilderTest extends QueryBuilderTest
|
||||
$this->primaryKey()->first()->after('col_before'),
|
||||
'integer PRIMARY KEY AUTOINCREMENT NOT NULL'
|
||||
],
|
||||
];
|
||||
]);
|
||||
}
|
||||
|
||||
public function testAddDropPrimaryKey()
|
||||
|
||||
Reference in New Issue
Block a user