1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +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 Add Sqlite as EF DB provider (#2487) 2022-12-14 08:28:51 -06:00
20221212154007_initial.Designer.cs Add Sqlite as EF DB provider (#2487) 2022-12-14 08:28:51 -06:00
20230106025949_AvatarColor.cs add sqlite migrations for avatar color (#2543) 2023-01-10 07:50:34 -05:00
20230106025949_AvatarColor.Designer.cs add sqlite migrations for avatar color (#2543) 2023-01-10 07:50:34 -05:00
20230106153919_SecretsManager.cs [SM-394] Secrets Manager (#2164) 2023-01-13 15:02:53 +01:00
20230106153919_SecretsManager.Designer.cs [SM-394] Secrets Manager (#2164) 2023-01-13 15:02:53 +01:00
20230112125615_ProviderAddProviderTypeBillingPhone.cs [EC-427] Add provider types (MSP/Reseller) to Provider table (#2518) 2023-01-23 16:08:05 +00:00
20230112125615_ProviderAddProviderTypeBillingPhone.Designer.cs [EC-427] Add provider types (MSP/Reseller) to Provider table (#2518) 2023-01-23 16:08:05 +00:00
20230113175436_Fix Navigation Properties.cs Remove Unused Auto Properties (#2580) 2023-01-13 14:24:58 -05:00
20230113175436_Fix Navigation Properties.Designer.cs Remove Unused Auto Properties (#2580) 2023-01-13 14:24:58 -05:00
20230118212950_RemoveDeviceUnknownVerification.cs [EC-400] Code clean up Device Verification (#2601) 2023-02-17 10:15:28 -03:00
20230118212950_RemoveDeviceUnknownVerification.Designer.cs [EC-400] Code clean up Device Verification (#2601) 2023-02-17 10:15:28 -03:00
20230120160257_OrganizationStatus.cs [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
20230120160257_OrganizationStatus.Designer.cs [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
20230124132220_KDFOptions.cs fix lint issues and sql csproj (#2627) 2023-01-25 12:44:32 -05:00
20230124132220_KDFOptions.Designer.cs [PS-2267] Add KdfMemory and KDFParallelism fields (#2583) 2023-01-25 07:56:54 -05:00
20230201175211_SecretsManagerOrganizationUser.cs Add EF migrations for SecretsManager flag (#2659) 2023-02-01 12:27:13 -06:00
20230201175211_SecretsManagerOrganizationUser.Designer.cs Add EF migrations for SecretsManager flag (#2659) 2023-02-01 12:27:13 -06:00
20230201192604_LastUserDates.cs add timestamps to user table for security related events (#2660) 2023-02-02 14:39:57 -05:00
20230201192604_LastUserDates.Designer.cs add timestamps to user table for security related events (#2660) 2023-02-02 14:39:57 -05:00
20230208210629_CipherKeyUpdate.cs Individual Vault Item Encryption Feature (#3256) 2023-09-28 08:45:13 -04:00
20230208210629_CipherKeyUpdate.Designer.cs Individual Vault Item Encryption Feature (#3256) 2023-09-28 08:45:13 -04:00
20230213133244_SecretsManagerEvent.cs [SM-389] Event log for service account (#2674) 2023-02-24 16:44:33 +01:00
20230213133244_SecretsManagerEvent.Designer.cs [SM-389] Event log for service account (#2674) 2023-02-24 16:44:33 +01:00
20230302121757_DomainClaiming.cs Add Sqlite Migration (#2760) 2023-03-02 08:50:27 -05:00
20230302121757_DomainClaiming.Designer.cs Add Sqlite Migration (#2760) 2023-03-02 08:50:27 -05:00
20230315121314_AuthRequestRemoveFingerprintPhrase.cs [PM-107] Remove fingerprint phase 2 (#2809) 2023-03-23 13:08:49 +00:00
20230315121314_AuthRequestRemoveFingerprintPhrase.Designer.cs [PM-107] Remove fingerprint phase 2 (#2809) 2023-03-23 13:08:49 +00:00
20230428130742_EFUpdate.cs Run ef_migrate.ps1 (#2892) 2023-05-01 09:32:06 -04:00
20230428130742_EFUpdate.Designer.cs Run ef_migrate.ps1 (#2892) 2023-05-01 09:32:06 -04:00
20230522030842_AddKeysToDevice.cs [PM-1380] Modify Device Table (#2937) 2023-06-09 21:36:12 -04:00
20230522030842_AddKeysToDevice.Designer.cs [PM-1380] Modify Device Table (#2937) 2023-06-09 21:36:12 -04:00
20230523223522_ClientSecretHash.cs [SM-678] ClientSecret migration (#2943) 2023-06-21 13:16:06 -05:00
20230523223522_ClientSecretHash.Designer.cs [SM-678] ClientSecret migration (#2943) 2023-06-21 13:16:06 -05:00
20230530114320_AddSecretsManagerBillingFieldToOrganization.cs [AC 1427]Add New Organisation Properties Update DB Objects and create migration (#2980) 2023-06-12 23:48:17 +01:00
20230530114320_AddSecretsManagerBillingFieldToOrganization.Designer.cs [AC 1427]Add New Organisation Properties Update DB Objects and create migration (#2980) 2023-06-12 23:48:17 +01:00
20230605182605_TdeAdminApproval.cs [AC-1192] Create endpoints for new Device Approvals page (#2993) 2023-06-15 14:54:08 -07:00
20230605182605_TdeAdminApproval.Designer.cs [AC-1192] Create endpoints for new Device Approvals page (#2993) 2023-06-15 14:54:08 -07:00
20230726191546_SecretsManagerBetaColumn.cs SM-802: Add SecretsManagerBeta Column Migration (#3065) 2023-07-26 15:55:28 -04:00
20230726191546_SecretsManagerBetaColumn.Designer.cs SM-802: Add SecretsManagerBeta Column Migration (#3065) 2023-07-26 15:55:28 -04:00
20230824202443_ACCESSPOLICY_ADD_DELETE_CASCADE.cs [SM-755] Add EF Secrets Manager cleanup on deletes (#3228) 2023-09-21 17:22:08 -05:00
20230824202443_ACCESSPOLICY_ADD_DELETE_CASCADE.Designer.cs [SM-755] Add EF Secrets Manager cleanup on deletes (#3228) 2023-09-21 17:22:08 -05:00
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