Oracle issues
minor changes on code
This commit is contained in:
parent
2316b21952
commit
81d73bb968
@ -69,12 +69,12 @@ EOT
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
$schema = new Schema($tables, null, $sm->createSchemaConfig());
|
||||
|
||||
$schema = new Schema($tables, $sm->createSchemaConfig());
|
||||
foreach ($schema->toSql($connection->getDatabasePlatform()) as $sql) {
|
||||
$connection->exec($sql);
|
||||
}
|
||||
|
||||
$output->writeln('ACL tables have been initialized successfully.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
@ -82,7 +83,7 @@ final class Schema extends BaseSchema
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the object identity table to the schema
|
||||
* Adds the object identity table to the schema
|
||||
*/
|
||||
protected function addObjectIdentitiesTable()
|
||||
{
|
||||
@ -132,4 +133,4 @@ final class Schema extends BaseSchema
|
||||
$table->setPrimaryKey(array('id'));
|
||||
$table->addUniqueIndex(array('identifier', 'username'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user