-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add oauth2_clients migration for Owncloud #30276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
832c2f3 to
6526703
Compare
5bea261 to
ae95a7c
Compare
ae95a7c to
5613ff3
Compare
09a097f to
eb57a60
Compare
| } | ||
|
|
||
| public function run(IOutput $output) { | ||
| $schema = new SchemaWrapper($this->db); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
|
/backport to stable23 |
|
/backport to stable22 |
|
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
|
/rebase |
77e360e to
3932baf
Compare
c6e8614 to
24c4db9
Compare
|
/rebase |
24c4db9 to
cc9f240
Compare
0c2e4fe to
2f5ad65
Compare
Signed-off-by: Louis Chemineau <[email protected]>
2f5ad65 to
c572286
Compare
PVince81
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Handy script to test the migration. Use it from a nextcloud root directory containing the migration.