1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
bitwarden-server/util
Michał Chęciński 3e90f57797
[DEVOPS-1519] Add transition mode to mssql migrator utility (#3259)
* Add RerunableSqlTableJournal

* Add extension to use rerunable sql table journal

* Use rerunable sql journal

* format

* Enable logging

* FIx

* Disable logging

* Rename to SqlTableJournalExtensions

* Move RerunableSqlTableJournal to Extension class

* Fix usings

* Add rerunable schema

* Format

* Fix typo

* Enable logging in db migrator

* add rerunable column in dbo migrations table migration

* Trying

* Fix journal table name

* Trying to migrate first

* After migration

* Testing

* Add update from rerunable to not rerunable script

* Change name

* Add rerunable option and script folder name

* Add rerunable options and folder

* Fix

* Add transition (aka rerunable) migrations to Setup

* Parse parameters on migrator utility

* Fix sql scripts

* Remove CreateSchemaTableSql as it'll be migrated using migration

* Embed dbScripts_data_migration folder

* Remove testing sql script

* Add optins parsing nuget for msSqlMigratorUtility

* Fix sql journal

* Ran dotnet format

* Comment out index

* ▫️Revert "Comment out index"

This reverts commit df15fa91e0.

* Disable logging

* Add newline

* Rename rerunable to repeatable

* remove repeatable journal

* Remove migration adding the repeatable column in  dbo.Migrations table

* Add using

* Enable log for testing

* Disable logging in the setup

* Remove unused method

* Add migrator constants

* Use constants in yet another place

* Fix

* Add constant

* Fix

* Fix
2023-09-28 16:29:52 +02:00
..
Attachments Fix Attachments base image (#3190) 2023-08-15 19:48:25 -04:00
EfShared [PM-2633] Warnings cleanup (#3010) 2023-06-16 10:02:05 -04:00
Migrator [DEVOPS-1519] Add transition mode to mssql migrator utility (#3259) 2023-09-28 16:29:52 +02:00
MsSql [PM-294] Add Database to MSSQL Environment File (#2962) 2023-05-25 16:57:47 -04:00
MsSqlMigratorUtility [DEVOPS-1519] Add transition mode to mssql migrator utility (#3259) 2023-09-28 16:29:52 +02:00
MySqlMigrations Individual Vault Item Encryption Feature (#3256) 2023-09-28 08:45:13 -04:00
Nginx nginx preserve upstream header values, fix ip (#2847) 2023-04-13 10:58:03 -04:00
PostgresMigrations Individual Vault Item Encryption Feature (#3256) 2023-09-28 08:45:13 -04:00
Server Project configuration tune-up (#2994) 2023-06-08 13:21:03 -04:00
Setup [DEVOPS-1519] Add transition mode to mssql migrator utility (#3259) 2023-09-28 16:29:52 +02:00
SqliteMigrations Individual Vault Item Encryption Feature (#3256) 2023-09-28 08:45:13 -04:00
SqlServerEFScaffold [PM-2961] Upgrade Braintree (#3206) 2023-09-20 14:11:29 -04:00