vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
146 stars 53 forks source link

fix error UNIQUE constraint failed #80

Closed nerzh closed 6 years ago

nerzh commented 6 years ago

The problem If use DB for sessions cache I get error: [ ERROR ] PostgreSQLError.constraint: UNIQUE constraint failed: fluentcache.key

Why I need this fix I implement method keyedCacheSet for extension PostgreSQLDatabase : KeyedCacheSupporting

tanner0101 commented 6 years ago

This has been fixed in Fluent instead, thanks! https://github.com/vapor/fluent/releases/tag/3.0.0