Closed tanner0101 closed 3 years ago
Add Fluent implementation for Vapor's new cache protocol: https://github.com/vapor/vapor/pull/2558
app.caches.use(.fluent) // Or with specific database id app.caches.use(.fluent(.foo))
Make sure to add the CacheEntry migration (similar to SessionRecord).
CacheEntry
SessionRecord
app.migrations.add(CacheEntry.migration)
These changes are now available in 4.2.0
Add Fluent implementation for Vapor's new cache protocol: https://github.com/vapor/vapor/pull/2558
Make sure to add the
CacheEntry
migration (similar toSessionRecord
).