1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-30 13:33:24 +01:00
bitwarden-server/util/PostgresMigrations
Kyle Spearrin 0d3a7b3dd5
[PM-5518] Sql-backed IDistributedCache (#3791)
* Sql-backed IDistributedCache

* sqlserver cache table

* remove unused using

* setup EF entity

* cache indexes

* add back cipher

* revert SetupEntityFramework change

* ef cache

* EntityFrameworkCache

* IServiceScopeFactory for db context

* implement EntityFrameworkCache

* move to _serviceScopeFactory

* move to config file

* ef migrations

* fixes

* datetime and error codes

* revert migrations

* migrations

* format

* static and namespace fix

* use time provider

* Move SQL migration and remove EF one for the moment

* Add clean migration of just the new table

* Formatting

* Test Custom `IDistributedCache` Implementation

* Add Back Logging

* Remove Double Logging

* Skip Test When Not EntityFrameworkCache

* Format

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-07-03 12:48:23 -04:00
..
HelperScripts [AC-1978] Flexible collections: EF data migrations for deprecated permissions (#3969) 2024-04-26 14:11:29 +01:00
Migrations [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
Scripts [EC-427] Add provider types (MSP/Reseller) to Provider table (#2518) 2023-01-23 16:08:05 +00:00
Factories.cs [PM-2444] Add Pipeline for Testing All Database Variants in CI (#2471) 2023-05-30 13:25:55 -04:00
PostgresDbMigratorDbMigrator.cs Bitwarden Unified Self-Host project (#2410) 2022-11-18 14:39:01 -05:00
PostgresMigrations.csproj [deps] DbOps: Update EntityFrameworkCore to v8 (major) (#3744) 2024-06-27 08:45:34 -04:00