Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Mar 28, 2022

The migration is run during usual upgrades, so we need to wrap every step insides conditions to make sure we do not break anything.

Currently, it leads to the following error: "The column 'hashed_code' on table 'oc_oauth2_access_tokens' already exists"

Is this the correct way?

Introduced by #30276

@artonge artonge added the 3. to review Waiting for reviews label Mar 28, 2022
@artonge artonge added this to the Nextcloud 24 milestone Mar 28, 2022
@artonge artonge self-assigned this Mar 28, 2022
@artonge
Copy link
Contributor Author

artonge commented Mar 28, 2022

/backport to stable23

@artonge artonge requested review from a team, juliusknorr, nickvergessen and skjnldsv and removed request for a team March 28, 2022 16:45
@blizzz blizzz mentioned this pull request Mar 31, 2022
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question, otherwise looks good and works

@artonge artonge force-pushed the fix/oc_oauth2_migration branch from e1d8eef to b0b8805 Compare March 31, 2022 08:42
@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants