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