1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/util/Migrator
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
..
DbScripts [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
DbScripts_finalization Move DbScripts_finalization to DbScripts (#3675) 2024-02-12 14:00:09 -05:00
DbScripts_transition Add gitkeep files to preserve DbScript folders even if there's no sql scripts in them (#3341) 2023-10-13 15:05:27 +02:00
MySql enh(mysql) Enforce ENGINE=InnoDB (#1470) 2021-07-29 17:12:57 -04:00
DbMigrator.cs [PM-6938] Allow certain database operations to be skipped (#3914) 2024-03-27 11:20:54 -04:00
DbUpLogger.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
Migrator.csproj Upgrade logging packages for .NET 8 (#3798) 2024-02-13 14:34:55 -05:00
MigratorConstants.cs [DEVOPS-1519] Add transition mode to mssql migrator utility (#3259) 2023-09-28 16:29:52 +02:00
SqlServerDbMigrator.cs [PM-6938] Allow certain database operations to be skipped (#3914) 2024-03-27 11:20:54 -04:00