vapor / fluent-kit

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

Restore support for pre-Concurrency migrations #603

Closed gwynne closed 5 months ago

gwynne commented 5 months ago

These changes are now available in 1.48.1

Reverts and tweaks a few of the changes in the recent Sendable update in order to (hopefully) restore functionality for users still using legacy (pre-Concurrency) app entry points.

Fixes #602. (Hopefully.)

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 25.01%. Comparing base (c4a406d) to head (f178cf6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #603 +/- ## ======================================= Coverage 25.00% 25.01% ======================================= Files 150 150 Lines 8569 8568 -1 ======================================= Hits 2143 2143 + Misses 6426 6425 -1 ``` | [Files](https://app.codecov.io/gh/vapor/fluent-kit/pull/603?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [Sources/FluentKit/Enum/EnumMetadata.swift](https://app.codecov.io/gh/vapor/fluent-kit/pull/603?src=pr&el=tree&filepath=Sources%2FFluentKit%2FEnum%2FEnumMetadata.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9GbHVlbnRLaXQvRW51bS9FbnVtTWV0YWRhdGEuc3dpZnQ=) | `0.00% <0.00%> (ø)` | | | [Sources/FluentKit/Migration/Migrator.swift](https://app.codecov.io/gh/vapor/fluent-kit/pull/603?src=pr&el=tree&filepath=Sources%2FFluentKit%2FMigration%2FMigrator.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9GbHVlbnRLaXQvTWlncmF0aW9uL01pZ3JhdG9yLnN3aWZ0) | `0.00% <0.00%> (ø)` | | | [Sources/FluentKit/Migration/MigrationLog.swift](https://app.codecov.io/gh/vapor/fluent-kit/pull/603?src=pr&el=tree&filepath=Sources%2FFluentKit%2FMigration%2FMigrationLog.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9GbHVlbnRLaXQvTWlncmF0aW9uL01pZ3JhdGlvbkxvZy5zd2lmdA==) | `4.76% <0.00%> (ø)` | |