1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/util/MySqlMigrations/Migrations
Todd Martin 7ede956c32
Individual Vault Item Encryption Feature (#3256)
* [SG-966] [SG-967] Add new cipher properties, update DB objects and create migrations (#2681)

* Updated cipher entity with two new columns

* Added sqlserver mifgration and updated applicable stored procedures and table

* Added EF Migrations

* Made changes to response model to include new column properties

* Fixed formatting

* Modified scripts to reflect suggestions made on PR

* Added column to cipher table using default

* Include constraint in create cipher table script

* Added key and forcerotatekey property to request model (#2716)

* Added key update on the Cipher_UpdateWithCollection stored procedure, ef (#2855)

* Added key and forceKeyRotation to BuildCiphersTable method (#2893)

* [PM-2211] Remove forceKeyRotation column (#2921)

* Removed forceKeyRotation column

* Adjusted date for migrtaion file

* Passed key column to update cipher script to update cipher key when it is rotated (#2967)

* [PM-2448] Update CipherDetails_Update SP to update attachment column (#2992)

* Updated the cipherdetails_update stored procedure to update the attachement column when encrypted with the cipher key

* Moved migration and renamed old migration file

* Fixed lint issues

* Fixed lint issues

* renamed sqlserver migration to have a more recent date

* [PM-2548] Added validation to edit and add attachments methods (#3130)

* PM-2548 Added validation to edit and add attachments methods

* PM-2548 Moved the validation to a private method

* PM-2548 Minor refactor

* Bumped up minimum version

* Bumped up minimum version

* Changed version for tests purposes

* Bumped up minimum version

* Updated encryption minimum version to match clients for QA.

* PM-3976 Passed Key column to update cipher on bulk edit (#3299)

* Updated minimum client version in preparation for release.

* Renamed migration with current date. (#3303)

---------

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
Co-authored-by: gbubemismith <gsmithwalter@gmail.com>
Co-authored-by: Carlos Gonçalves <cgoncalves@bitwarden.com>
Co-authored-by: Carlos Gonçalves <carlosmaccam@gmail.com>
2023-09-28 08:45:13 -04:00
..
20210617183900_Init.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20210617183900_Init.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20210709095522_RemoveProviderOrganizationProviderUser.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20210709095522_RemoveProviderOrganizationProviderUser.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20210716142145_UserForcePasswordReset.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20210716142145_UserForcePasswordReset.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20210921132418_AddMaxAutoscaleSeatsToOrganization.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20210921132418_AddMaxAutoscaleSeatsToOrganization.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20211011144835_SplitManageCollectionsPermissions2.cs Remove EF migration scripts (#2550) 2023-01-10 13:46:19 -05:00
20211011144835_SplitManageCollectionsPermissions2.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20211021201150_SetMaxAutoscaleSeatsToCurrentSeatCount.cs Remove EF migration scripts (#2550) 2023-01-10 13:46:19 -05:00
20211021201150_SetMaxAutoscaleSeatsToCurrentSeatCount.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20211108041911_KeyConnector.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20211108041911_KeyConnector.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20211108225243_OrganizationSponsorship.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20211108225243_OrganizationSponsorship.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20211115145402_KeyConnectorFlag.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20211115145402_KeyConnectorFlag.Designer.cs Split out repositories to Infrastructure.Dapper / EntityFramework (#1759) 2022-01-11 10:40:51 +01:00
20220121092546_RemoveU2F.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20220121092546_RemoveU2F.Designer.cs Remove the u2f lib (#1820) 2022-01-24 12:14:04 +01:00
20220301215315_FailedLoginCaptcha.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20220301215315_FailedLoginCaptcha.Designer.cs [Captcha] Implement failed logins ceiling (#1870) 2022-03-02 15:45:00 -06:00
20220322191314_SelfHostF4E.cs Bitwarden Unified Self-Host project (#2410) 2022-11-18 14:39:01 -05:00
20220322191314_SelfHostF4E.Designer.cs Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
20220411191518_SponsorshipBulkActions.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20220411191518_SponsorshipBulkActions.Designer.cs Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
20220420170738_AddInstallationIdToEvents.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20220420170738_AddInstallationIdToEvents.Designer.cs Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
20220524171600_DeviceUnknownVerification.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20220524171600_DeviceUnknownVerification.Designer.cs [PS-589] Fix emergency contact takeover device verification and endpoints for its settings (#2016) 2022-06-06 14:52:50 -03:00
20220608191914_DeactivatedUserStatus.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20220608191914_DeactivatedUserStatus.Designer.cs EC-262 - implement org user deactivated flag and behavior server (#2050) 2022-06-16 15:59:57 -04:00
20220707163017_UseScimFlag.cs Run formatting (#2230) 2022-08-29 16:06:55 -04:00
20220707163017_UseScimFlag.Designer.cs [EC-261] SCIM (#2105) 2022-07-14 15:58:48 -04:00
20220912144222_PasswordlessAuthRequests.cs [SG-167] Implement Passwordless Authentication via Notifications (#2276) 2022-09-26 13:21:13 -04:00
20220912144222_PasswordlessAuthRequests.Designer.cs [SG-167] Implement Passwordless Authentication via Notifications (#2276) 2022-09-26 13:21:13 -04:00
20220927142038_EventsSystemUser.cs [EC-449] Event log user for SCIM events (#2306) 2022-11-09 12:13:29 +00:00
20220927142038_EventsSystemUser.Designer.cs [EC-449] Event log user for SCIM events (#2306) 2022-11-09 12:13:29 +00:00
20221020154432_UseCustomPermissionsFlag.cs [EC-343] Gate custom permissions behind enterprise plan (#2352) 2022-12-06 09:50:08 +00:00
20221020154432_UseCustomPermissionsFlag.Designer.cs [EC-343] Gate custom permissions behind enterprise plan (#2352) 2022-12-06 09:50:08 +00:00
20221024210500_PasswordlessAuthRequestAddApprovedColumn.cs [SG-763] Store the fact that a Passwordless request was denied in the AuthRequest table (#2363) 2022-10-25 17:14:48 -04:00
20221024210500_PasswordlessAuthRequestAddApprovedColumn.Designer.cs [SG-763] Store the fact that a Passwordless request was denied in the AuthRequest table (#2363) 2022-10-25 17:14:48 -04:00
20221114202829_OrganizationDomainClaim.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
20221114202829_OrganizationDomainClaim.Designer.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
20221115030843_AvatarColor.cs [SG-58] Avatar color selector (#2330) 2023-01-01 11:28:59 -05:00
20221115030843_AvatarColor.Designer.cs [SG-58] Avatar color selector (#2330) 2023-01-01 11:28:59 -05:00
20221129004644_OrganizationDomainClaimRenameNextRunCount.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
20221129004644_OrganizationDomainClaimRenameNextRunCount.Designer.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
20221209015017_EventsDomainName.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
20221209015017_EventsDomainName.Designer.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
20221209192355_OrganizationDomainLastCheckedDate.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
20221209192355_OrganizationDomainLastCheckedDate.Designer.cs [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
20221226164641_ProviderAddProviderTypeBillingPhone.cs [EC-427] Add provider types (MSP/Reseller) to Provider table (#2518) 2023-01-23 16:08:05 +00:00
20221226164641_ProviderAddProviderTypeBillingPhone.Designer.cs [EC-427] Add provider types (MSP/Reseller) to Provider table (#2518) 2023-01-23 16:08:05 +00:00
20230106122006_SecretsManager.cs [SM-394] Secrets Manager (#2164) 2023-01-13 15:02:53 +01:00
20230106122006_SecretsManager.Designer.cs [SM-394] Secrets Manager (#2164) 2023-01-13 15:02:53 +01:00
20230113175447_Fix Navigation Properties.cs Remove Unused Auto Properties (#2580) 2023-01-13 14:24:58 -05:00
20230113175447_Fix Navigation Properties.Designer.cs Remove Unused Auto Properties (#2580) 2023-01-13 14:24:58 -05:00
20230118225349_RemoveDeviceUnknownVerification.cs [EC-400] Code clean up Device Verification (#2601) 2023-02-17 10:15:28 -03:00
20230118225349_RemoveDeviceUnknownVerification.Designer.cs [EC-400] Code clean up Device Verification (#2601) 2023-02-17 10:15:28 -03:00
20230120160248_OrganizationStatus.cs [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
20230120160248_OrganizationStatus.Designer.cs [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
20230124132226_KDFOptions.cs fix lint issues and sql csproj (#2627) 2023-01-25 12:44:32 -05:00
20230124132226_KDFOptions.Designer.cs [PS-2267] Add KdfMemory and KDFParallelism fields (#2583) 2023-01-25 07:56:54 -05:00
20230201175203_SecretsManagerOrganizationUser.cs Add EF migrations for SecretsManager flag (#2659) 2023-02-01 12:27:13 -06:00
20230201175203_SecretsManagerOrganizationUser.Designer.cs Add EF migrations for SecretsManager flag (#2659) 2023-02-01 12:27:13 -06:00
20230201192610_LastUserDates.cs add timestamps to user table for security related events (#2660) 2023-02-02 14:39:57 -05:00
20230201192610_LastUserDates.Designer.cs add timestamps to user table for security related events (#2660) 2023-02-02 14:39:57 -05:00
20230208212115_CipherKeyUpdate.cs Individual Vault Item Encryption Feature (#3256) 2023-09-28 08:45:13 -04:00
20230208212115_CipherKeyUpdate.Designer.cs Individual Vault Item Encryption Feature (#3256) 2023-09-28 08:45:13 -04:00
20230213133250_SecretsManagerEvent.cs [SM-389] Event log for service account (#2674) 2023-02-24 16:44:33 +01:00
20230213133250_SecretsManagerEvent.Designer.cs [SM-389] Event log for service account (#2674) 2023-02-24 16:44:33 +01:00
20230428130731_EFUpdate.cs Run ef_migrate.ps1 (#2892) 2023-05-01 09:32:06 -04:00
20230428130731_EFUpdate.Designer.cs Run ef_migrate.ps1 (#2892) 2023-05-01 09:32:06 -04:00
20230522030836_AddKeysToDevice.cs [PM-1380] Modify Device Table (#2937) 2023-06-09 21:36:12 -04:00
20230522030836_AddKeysToDevice.Designer.cs [PM-1380] Modify Device Table (#2937) 2023-06-09 21:36:12 -04:00
20230523223530_ClientSecretHash.cs [SM-678] ClientSecret migration (#2943) 2023-06-21 13:16:06 -05:00
20230523223530_ClientSecretHash.Designer.cs [SM-678] ClientSecret migration (#2943) 2023-06-21 13:16:06 -05:00
20230530114306_AddSecretsManagerBillingFieldToOrganization.cs [AC 1427]Add New Organisation Properties Update DB Objects and create migration (#2980) 2023-06-12 23:48:17 +01:00
20230530114306_AddSecretsManagerBillingFieldToOrganization.Designer.cs [AC 1427]Add New Organisation Properties Update DB Objects and create migration (#2980) 2023-06-12 23:48:17 +01:00
20230605183142_TdeAdminApproval.cs [AC-1192] Create endpoints for new Device Approvals page (#2993) 2023-06-15 14:54:08 -07:00
20230605183142_TdeAdminApproval.Designer.cs [AC-1192] Create endpoints for new Device Approvals page (#2993) 2023-06-15 14:54:08 -07:00
20230726191551_SecretsManagerBetaColumn.cs SM-802: Add SecretsManagerBeta Column Migration (#3065) 2023-07-26 15:55:28 -04:00
20230726191551_SecretsManagerBetaColumn.Designer.cs SM-802: Add SecretsManagerBeta Column Migration (#3065) 2023-07-26 15:55:28 -04:00
20230824202452_ACCESSPOLICY_ADD_DELETE_CASCADE.cs [SM-755] Add EF Secrets Manager cleanup on deletes (#3228) 2023-09-21 17:22:08 -05:00
20230824202452_ACCESSPOLICY_ADD_DELETE_CASCADE.Designer.cs [SM-755] Add EF Secrets Manager cleanup on deletes (#3228) 2023-09-21 17:22:08 -05:00
DatabaseContextModelSnapshot.cs Individual Vault Item Encryption Feature (#3256) 2023-09-28 08:45:13 -04:00