-
Notifications
You must be signed in to change notification settings - Fork 81
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
SHARE-471 Improved all-time ranking of projects #4448
Conversation
$this->addSql('ALTER TABLE studio_activity CHANGE type type ENUM(\'comment\', \'project\', \'user\')'); | ||
$this->addSql('ALTER TABLE studio_user CHANGE role role ENUM(\'admin\', \'member\'), CHANGE status status ENUM(\'active\', \'banned\', \'pending_request\')'); | ||
$this->addSql('ALTER TABLE user_like_similarity_relation CHANGE similarity similarity NUMERIC(4, 3) DEFAULT \'0\' NOT NULL'); | ||
$this->addSql('ALTER TABLE user_remix_similarity_relation CHANGE similarity similarity NUMERIC(4, 3) DEFAULT \'0\' NOT NULL'); |
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.
Those 4 lines can be removed, they have no effect, and will be in every migration. There must be a misconfiguration in our settings. You can remove them
$this->entity_manager->flush(); | ||
$output->writeln('Popularity scores have been updated'); | ||
|
||
return Command::SUCCESS; |
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.
I think this command will run in a timeout, but we can test it out with the next deployment.
LGTM - please resolve the conflict :) |
removed unnecessary lines in migration
Codecov Report
@@ Coverage Diff @@
## develop #4448 +/- ##
=============================================
- Coverage 49.66% 49.19% -0.48%
- Complexity 5690 5707 +17
=============================================
Files 662 663 +1
Lines 20499 20597 +98
=============================================
- Hits 10181 10132 -49
- Misses 10318 10465 +147
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Your checklist for this pull request
Please review the contributing guidelines and wiki pages of this repository.
SHARE-666 The devils ticket
Code Review
section in JiraAdditional Description
TODO: Add additional information that is not in your commit-message here
Tests - additional information
TODO: add additional information about testruns here