Skip to content
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

Fix score recalculation in migrate_241_to_242 #1488

Merged
merged 2 commits into from
Apr 14, 2021

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Apr 14, 2021

What:
The two parameter version of the round() functions requires the first
parameter to be of the type "numeric" and there is no implicit cast,
so an explicit type cast is added.

Why:
This is required for the migration to work.

How did you test it:

Checklist:

The two parameter version of the round() functions requires the first
parameter to be of the type "numeric" and there is no implicit cast,
so an explicit type cast is added.
@timopollmeier timopollmeier marked this pull request as ready for review April 14, 2021 13:05
@timopollmeier timopollmeier requested a review from a team as a code owner April 14, 2021 13:05
@timopollmeier timopollmeier added the backport-to-main This pull request will be ported to the master branch label Apr 14, 2021
@nichtsfrei nichtsfrei merged commit d789b57 into greenbone:gvmd-21.04 Apr 14, 2021
timopollmeier added a commit that referenced this pull request Apr 15, 2021
Fix score recalculation in migrate_241_to_242 (backport #1488)
@timopollmeier timopollmeier deleted the fix-score-migration branch October 15, 2021 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-main This pull request will be ported to the master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants