vapor / fluent-kit

Swift ORM (queries, models, and relations) for NoSQL and SQL databases
MIT License
217 stars 116 forks source link

Add ability to control migration log level #549

Closed madsodgaard closed 1 year ago

madsodgaard commented 1 year ago

Adds a migrationLogLevel configuration to control what log level to use for logging prepare & revert statements.

codecov-commenter commented 1 year ago

Codecov Report

Merging #549 (b68985c) into main (d03b0ff) will decrease coverage by 0.04%. The diff coverage is 0.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #549 +/- ## ========================================== - Coverage 45.70% 45.66% -0.04% ========================================== Files 103 103 Lines 5842 5847 +5 ========================================== Hits 2670 2670 - Misses 3172 3177 +5 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `45.66% <0.00%> (-0.04%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/vapor/fluent-kit/pull/549?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [Sources/FluentKit/Migration/Migrator.swift](https://codecov.io/gh/vapor/fluent-kit/pull/549?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9GbHVlbnRLaXQvTWlncmF0aW9uL01pZ3JhdG9yLnN3aWZ0) | `0.00% <0.00%> (ø)` | |
gwynne commented 1 year ago

Overriding failing api-breakage check to merge, API checker doesn't correctly allow adding new defaulted parameters to non-inlined methods.

VaporBot commented 1 year ago

These changes are now available in 1.38.0