Add oauth2_clients migration for Owncloud#30276
Merged
Conversation
832c2f3 to
6526703
Compare
5bea261 to
ae95a7c
Compare
ae95a7c to
5613ff3
Compare
09a097f to
eb57a60
Compare
ChristophWurst
requested changes
Dec 16, 2021
| } | ||
|
|
||
| public function run(IOutput $output) { | ||
| $schema = new SchemaWrapper($this->db); |
Member
There was a problem hiding this comment.
Maybe I just haven't seen any such code before, but building those migrations by hand and outside of regular migrations feels like something is off.
Why is this not done in a regular migration?
Contributor
Author
There was a problem hiding this comment.
It is not a regular migration but a repair step. I took inspiration from existing ones: https://github.com/nextcloud/server/tree/master/lib/private/Repair/Owncloud. Should we use another approach?
eb57a60 to
f4c6e0f
Compare
Contributor
Author
|
/backport to stable23 |
Contributor
Author
|
/backport to stable22 |
Contributor
Author
|
Limiting backport to stable22 for now. Should we backport this to older versions too? Not sure if the migration path is |
f4c6e0f to
eca0e17
Compare
eca0e17 to
77e360e
Compare
Contributor
Author
|
/rebase |
77e360e to
3932baf
Compare
c6e8614 to
24c4db9
Compare
Contributor
Author
|
/rebase |
24c4db9 to
cc9f240
Compare
PVince81
reviewed
Mar 24, 2022
0c2e4fe to
2f5ad65
Compare
Signed-off-by: Louis Chemineau <louis@chmn.me>
2f5ad65 to
c572286
Compare
Pytal
approved these changes
Mar 24, 2022
This was referenced Mar 28, 2022
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handy script to test the migration. Use it from a nextcloud root directory containing the migration.