-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Installation goes brrrr #24039
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
Installation goes brrrr #24039
Conversation
2005bf1 to
aceeb12
Compare
Signed-off-by: Joas Schilling <[email protected]>
…ons anyway Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
aceeb12 to
77713ab
Compare
| } else { | ||
| $ms = new \OC\DB\MigrationService($info['id'], \OC::$server->getDatabaseConnection()); | ||
| $ms->migrate(); | ||
| $ms->migrate('latest', true); |
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.
When we install, we have no data, so we can skip the before and after migration parts which saves some time
MorrisJobke
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.
Code makes sense, tested and works 👍
juliusknorr
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.
🚀
|
Brrrreaks apps as |
Why don't we have tests for this 🙈 |
|
Because it would fail |


Reduced installation time by ~50%