Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys.

This commit is contained in:
Chris Harris
2016-02-26 12:44:20 -08:00
parent 3eecb79420
commit 91018f6c38
7 changed files with 72 additions and 72 deletions

View File

@@ -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()