1
0
mirror of https://github.com/bitwarden/server.git synced 2025-03-02 04:11:04 +01:00
bitwarden-server/util/SqliteMigrations/Migrations
Rui Tomé b3e5076128
[AC-1978] Flexible collections: EF data migrations for deprecated permissions (#3969)
* [AC-1682] Added MySql migration and script

(cherry picked from commit d367f6de6b)

* [AC-1682] Added Postgres migration and script

(cherry picked from commit 9bde1604da)

* [AC-1682] Added Sqlite migration and script

(cherry picked from commit 262887f9c3)

* [AC-1682] dotnet format

(cherry picked from commit 00eea0621c)

* [AC-1682] Fixed Sqlite query

(cherry picked from commit 26f5bf8afd)

* [AC-1682] Drop temp tables if they exist when starting the scripts

(cherry picked from commit c20912f95c)

* [AC-1682] Removed MySql transaction from script because EF migration already wraps it under its own transaction

(cherry picked from commit 7b54d78d67)

* [AC-1682] Setting FlexibleCollections = 1 only for Orgs that had data migrated in previous steps

(cherry picked from commit 28bba94d81)

* [AC-1682] Updated queries to check for OrganizationId

(cherry picked from commit a957530d5e)

* [AC-1682] Fixed MySql script

(cherry picked from commit deee483ab7)

* [AC-1682] Fixed Postgres query

(cherry picked from commit c3ca9ec3c8)

* [AC-1682] Fix Sqlite query

(cherry picked from commit fada0a81bf)

* [AC-1682] Reverted scripts back to enabling Flexible Collections to all existing Orgs

(cherry picked from commit bd3b21b969)

* [AC-1682] Removed dropping temporary table from scripts

(cherry picked from commit eb7794d592)

* [AC-1682] Removed other temp table drops

(cherry picked from commit 26768b7bf8)

* [AC-1978] Fix issue that allows the web app to have the user type Manager available

(cherry picked from commit 2890f78870)

* [AC-1682] Bump dates on migration scripts

---------

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2024-04-26 14:11:29 +01:00
..
20221212154007_initial.cs
20221212154007_initial.Designer.cs
20230106025949_AvatarColor.cs
20230106025949_AvatarColor.Designer.cs
20230106153919_SecretsManager.cs
20230106153919_SecretsManager.Designer.cs
20230112125615_ProviderAddProviderTypeBillingPhone.cs
20230112125615_ProviderAddProviderTypeBillingPhone.Designer.cs
20230113175436_Fix Navigation Properties.cs
20230113175436_Fix Navigation Properties.Designer.cs
20230118212950_RemoveDeviceUnknownVerification.cs
20230118212950_RemoveDeviceUnknownVerification.Designer.cs
20230120160257_OrganizationStatus.cs
20230120160257_OrganizationStatus.Designer.cs
20230124132220_KDFOptions.cs
20230124132220_KDFOptions.Designer.cs
20230201175211_SecretsManagerOrganizationUser.cs
20230201175211_SecretsManagerOrganizationUser.Designer.cs
20230201192604_LastUserDates.cs
20230201192604_LastUserDates.Designer.cs
20230208210629_CipherKeyUpdate.cs
20230208210629_CipherKeyUpdate.Designer.cs
20230213133244_SecretsManagerEvent.cs
20230213133244_SecretsManagerEvent.Designer.cs
20230302121757_DomainClaiming.cs
20230302121757_DomainClaiming.Designer.cs
20230315121314_AuthRequestRemoveFingerprintPhrase.cs
20230315121314_AuthRequestRemoveFingerprintPhrase.Designer.cs
20230428130742_EFUpdate.cs
20230428130742_EFUpdate.Designer.cs
20230522030842_AddKeysToDevice.cs
20230522030842_AddKeysToDevice.Designer.cs
20230523223522_ClientSecretHash.cs
20230523223522_ClientSecretHash.Designer.cs
20230530114320_AddSecretsManagerBillingFieldToOrganization.cs
20230530114320_AddSecretsManagerBillingFieldToOrganization.Designer.cs
20230605182605_TdeAdminApproval.cs
20230605182605_TdeAdminApproval.Designer.cs
20230726191546_SecretsManagerBetaColumn.cs
20230726191546_SecretsManagerBetaColumn.Designer.cs
20230824202443_ACCESSPOLICY_ADD_DELETE_CASCADE.cs
20230824202443_ACCESSPOLICY_ADD_DELETE_CASCADE.Designer.cs
20231024181657_LimitCollectionCreateDelete.cs [AC-1373] Flexible Collections (#3245) 2023-11-01 09:30:52 +00:00
20231024181657_LimitCollectionCreateDelete.Designer.cs [AC-1373] Flexible Collections (#3245) 2023-11-01 09:30:52 +00:00
20231024200803_CollectionManagePermission.sql.cs [AC-1373] Flexible Collections (#3245) 2023-11-01 09:30:52 +00:00
20231024200803_CollectionManagePermission.sql.Designer.cs [AC-1373] Flexible Collections (#3245) 2023-11-01 09:30:52 +00:00
20231025225553_AdminCollectionItemAccess.cs [AC-1122] Add AllowAdminAccessToAllCollectionItems setting to Organizations (#3379) 2023-11-27 11:44:07 -08:00
20231025225553_AdminCollectionItemAccess.Designer.cs [AC-1122] Add AllowAdminAccessToAllCollectionItems setting to Organizations (#3379) 2023-11-27 11:44:07 -08:00
20231213032045_WebAuthnLoginCredentials.cs added webauthncredential ef migrations (#3555) 2023-12-13 07:03:42 -08:00
20231213032045_WebAuthnLoginCredentials.Designer.cs added webauthncredential ef migrations (#3555) 2023-12-13 07:03:42 -08:00
20231214162537_GrantIdWithIndexes.cs [PM-5519] [PM-5526] [PM-5624] [PM-5600] More Grant SQL fixes (#3668) 2024-01-16 09:08:55 -05:00
20231214162537_GrantIdWithIndexes.Designer.cs [PM-5294][deps]: Update Duende.IdentityServer to v6.3.7 (#3499) 2023-12-28 15:04:45 -05:00
20231229202304_AddToolsTableIndexes.cs [BEEEP] [SM-1060] Add missing tools table indexes to EF config (#3626) 2024-01-09 09:46:45 -06:00
20231229202304_AddToolsTableIndexes.Designer.cs [BEEEP] [SM-1060] Add missing tools table indexes to EF config (#3626) 2024-01-09 09:46:45 -06:00
20240104162642_AddCipherIdToSend.cs [PM-221] Adding CipherId to the Send table, create/update sprocs, and added mi… (#3646) 2024-03-04 19:31:33 -05:00
20240104162642_AddCipherIdToSend.Designer.cs [PM-221] Adding CipherId to the Send table, create/update sprocs, and added mi… (#3646) 2024-03-04 19:31:33 -05:00
20240109215333_AddTableIndexes.cs [BEEEP][SM-1062] Add missing table indexes to EF config (#3628) 2024-01-10 12:03:16 -06:00
20240109215333_AddTableIndexes.Designer.cs [BEEEP][SM-1062] Add missing table indexes to EF config (#3628) 2024-01-10 12:03:16 -06:00
20240111034245_OrganizationFlexibleCollectionsColumn.cs [AC-2025] Add Organization.FlexibleCollections to database and sprocs (#3642) 2024-01-11 13:25:57 +10:00
20240111034245_OrganizationFlexibleCollectionsColumn.Designer.cs [AC-2025] Add Organization.FlexibleCollections to database and sprocs (#3642) 2024-01-11 13:25:57 +10:00
20240112180610_AddAuthTableIndexes.cs [BEEEP] [SM-1059] Add missing auth table indexes to EF config (#3625) 2024-01-17 10:42:43 -06:00
20240112180610_AddAuthTableIndexes.Designer.cs [BEEEP] [SM-1059] Add missing auth table indexes to EF config (#3625) 2024-01-17 10:42:43 -06:00
20240131215352_RemoveSMBetaFromOrganization.cs SM-1012: Removing SM Beta (Phase 2) (#3663) 2024-02-05 15:51:31 -05:00
20240131215352_RemoveSMBetaFromOrganization.Designer.cs SM-1012: Removing SM Beta (Phase 2) (#3663) 2024-02-05 15:51:31 -05:00
20240216170322_AddSecretAccessPolicies.cs [SM-713] Add database support for secret access policies (#3681) 2024-02-22 10:06:39 -06:00
20240216170322_AddSecretAccessPolicies.Designer.cs [SM-713] Add database support for secret access policies (#3681) 2024-02-22 10:06:39 -06:00
20240308141731_SetupProviderBilling.cs [AC-1900] Update Vault DB to support provider billing (#3875) 2024-03-21 11:15:49 -04:00
20240308141731_SetupProviderBilling.Designer.cs [AC-1900] Update Vault DB to support provider billing (#3875) 2024-03-21 11:15:49 -04:00
20240425111436_EnableOrgsCollectionEnhancements.cs [AC-1978] Flexible collections: EF data migrations for deprecated permissions (#3969) 2024-04-26 14:11:29 +01:00
20240425111436_EnableOrgsCollectionEnhancements.Designer.cs [AC-1978] Flexible collections: EF data migrations for deprecated permissions (#3969) 2024-04-26 14:11:29 +01:00
DatabaseContextModelSnapshot.cs [AC-1900] Update Vault DB to support provider billing (#3875) 2024-03-21 11:15:49 -04:00