Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #30568

come-nc and others added 6 commits January 14, 2022 08:46
Use a backup table to copy the data, drop table and recreate it with
 correct primary key, then copy the data back and drop the backup table.

Signed-off-by: Côme Chilliet <[email protected]>
It is not possible to drop and create the same table in one migration

Signed-off-by: Côme Chilliet <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
@blizzz
Copy link
Member

blizzz commented Jan 14, 2022

CI is unhappy

Error: Class 'OCP\DB\Types' not found in /drone/src/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php:97

Use Doctrine\DBAL\Types\Types instead of OCP\DB\Types

Signed-off-by: Côme Chilliet <[email protected]>
@come-nc come-nc merged commit eb570ad into stable20 Jan 17, 2022
@come-nc come-nc deleted the backport/30568/stable20 branch January 17, 2022 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants