Skip to content

Commit

Permalink
equip user_saml_group_members with a primary key
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Dec 7, 2022
1 parent f2b2d45 commit 33271fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Migration/Version6000Date20220912152700.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
'length' => 64,
'default' => '',
]);
$table->addUniqueIndex(['gid', 'uid'], 'idx_group_members');
$table->setPrimaryKey(['gid', 'uid'], 'idx_group_members');
$table->addIndex(['gid']);
$table->addIndex(['uid']);
}
return $schema;
}
Expand Down

0 comments on commit 33271fb

Please sign in to comment.