woodpecker-ci / woodpecker

Woodpecker is a simple yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
3.88k stars 345 forks source link

Unify DB tables/columns #3806

Closed qwerty287 closed 1 week ago

qwerty287 commented 2 weeks ago

Closes #3449

qwerty287 commented 2 weeks ago

Somebody has an idea how to fix this error?

GetPipeline: converting driver.Value type time.Time to a int64: unsupported value time.Time as int64 expected to be nil

https://ci.woodpecker-ci.org/repos/3780/pipeline/17369/36

woodpecker-bot commented 1 week ago

Deployment of preview was successful: https://woodpecker-ci-woodpecker-pr-3806.surge.sh

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 20.36290% with 395 lines in your changes missing coverage. Please review.

Project coverage is 27.92%. Comparing base (b8b6efb) to head (c774ff5). Report is 1 commits behind head on main.

Files Patch % Lines
...re/datastore/migration/031_unify_columns_tables.go 6.68% 242 Missing and 121 partials :warning:
server/store/datastore/repo.go 42.85% 3 Missing and 5 partials :warning:
server/store/datastore/pipeline.go 70.58% 4 Missing and 1 partial :warning:
server/model/config.go 0.00% 4 Missing :warning:
server/model/forge.go 0.00% 2 Missing :warning:
server/model/registry.go 0.00% 2 Missing :warning:
server/model/server_config.go 0.00% 2 Missing :warning:
server/store/datastore/org.go 33.33% 0 Missing and 2 partials :warning:
...tastore/migration/021_parent_steps_to_workflows.go 50.00% 0 Missing and 1 partial :warning:
server/store/datastore/migration/022_add_orgs.go 50.00% 0 Missing and 1 partial :warning:
... and 5 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3806 +/- ## ========================================== - Coverage 28.25% 27.92% -0.33% ========================================== Files 363 366 +3 Lines 25114 25519 +405 ========================================== + Hits 7095 7127 +32 - Misses 17486 17738 +252 - Partials 533 654 +121 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.