Oracle issues

minor changes on code
This commit is contained in:
Gustavo Piltcher 2011-12-13 00:38:22 -02:00
parent 2316b21952
commit 81d73bb968
2 changed files with 7 additions and 6 deletions

View File

@ -70,7 +70,7 @@ EOT
}
}
$schema = new Schema($tables, null, $sm->createSchemaConfig());
$schema = new Schema($tables, $sm->createSchemaConfig());
foreach ($schema->toSql($connection->getDatabasePlatform()) as $sql) {
$connection->exec($sql);
}

View File

@ -27,8 +27,9 @@ final class Schema extends BaseSchema
* Constructor
*
* @param array $options the names for tables
* @param SchemaConfig $schemaConfig
*/
public function __construct(array $options, $unused=null, SchemaConfig $schemaConfig=null)
public function __construct(array $options, SchemaConfig $schemaConfig=null)
{
parent::__construct(array(), array(), $schemaConfig);