Commit 49dfdabe authored by Bill Schaller's avatar Bill Schaller Committed by Steve Müller

Change short array syntax to full array syntax

Can't use short array in php < 5.4
parent 99a6b53d
...@@ -177,7 +177,7 @@ class SQLServerSchemaManagerTest extends SchemaManagerFunctionalTestCase ...@@ -177,7 +177,7 @@ class SQLServerSchemaManagerTest extends SchemaManagerFunctionalTestCase
$table = new Table('sqlsrv_pk_ordering'); $table = new Table('sqlsrv_pk_ordering');
$table->addColumn('colA', 'integer', array('notnull' => true)); $table->addColumn('colA', 'integer', array('notnull' => true));
$table->addColumn('colB', 'integer', array('notnull' => true)); $table->addColumn('colB', 'integer', array('notnull' => true));
$table->setPrimaryKey(['colB', 'colA']); $table->setPrimaryKey(array('colB', 'colA'));
$this->_sm->createTable($table); $this->_sm->createTable($table);
$indexes = $this->_sm->listTableIndexes('sqlsrv_pk_ordering'); $indexes = $this->_sm->listTableIndexes('sqlsrv_pk_ordering');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment