mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
f3668f2748
commit
16b6504cc6
1 changed files with 2 additions and 2 deletions
|
|
@ -112,7 +112,7 @@ class Version1130Date20211102154716 extends SimpleMigrationStep {
|
|||
$table->addUniqueIndex(['directory_uuid'], 'ldap_user_directory_uuid');
|
||||
$changeSchema = true;
|
||||
}
|
||||
} else if (!$schema->hasTable('ldap_group_mapping_backup')) {
|
||||
} elseif (!$schema->hasTable('ldap_group_mapping_backup')) {
|
||||
// We need to copy the table twice to be able to change primary key, prepare the backup table
|
||||
$table2 = $schema->createTable('ldap_group_mapping_backup');
|
||||
$table2->addColumn('ldap_dn', Types::STRING, [
|
||||
|
|
@ -270,7 +270,7 @@ class Version1130Date20211102154716 extends SimpleMigrationStep {
|
|||
* @return Generator<string>
|
||||
* @throws \OCP\DB\Exception
|
||||
*/
|
||||
protected function getDuplicatedUuids(string $table): Generator{
|
||||
protected function getDuplicatedUuids(string $table): Generator {
|
||||
$select = $this->dbc->getQueryBuilder();
|
||||
$select->select('directory_uuid')
|
||||
->from($table)
|
||||
|
|
|
|||
Loading…
Reference in a new issue