1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-25 17:27:45 +01:00
bitwarden-server/util/Migrator/DbScripts
Rui Tomé f5a8cf5c9c
[AC-1081] Merge feature/billing-obfuscation (#2665)
* [EC-1014] Create Organization Status (Pending/Created) (#2610)

* [EC-427] Add columns 'Type' and 'BillingPhone' to Provider table

* [EC-427] Provider table Type and BillingPhone MySql migrations

* [EC-427] Provider table Type and BillingPhone Postgres migrations

* [EC-427] Add mysql migration script

* [EC-427] Add mysql migration script

* [EC-427] Updated Provider sql script to include default column value

* [EC-427] Removed default value from Provider.Type column

* [EC-427] Changed migration script to include a default value constraint instead of updating the null type

* [EC-427] Updated Sql project Provider table script

* [EC-427] Changed migration script to use 'Create OR Alter' for views and sprocs

* [EC-427] Added default values for 'BillingPhone' and 'Type' fields on sprocs [dbo].[Provider_Create] and [dbo].[Provider_Update]

* [EC-427] Adjusting metadata in migration script

* [EC-427] Updated Provider sprocs SQL script files

* [EC-427] Fixed migration script

* [EC-427] Added sqlite migration

* [EC-427] Add missing Provider_Update sproc default value

* [EC-427] Added missing GO action to migration script

* [EC-428] Redirect to Edit after creating Provider

* Revert "[EC-428] Redirect to Edit after creating Provider"

This reverts commit 6347bca1ed.

* [EC-1014] Create OrganizationStatusType and add Status column to Organizations table

* [EC-1014] Added EF migrations

* [EC-1014] dotnet format

* [EC-1014] Changed Organization.Status from SMALLINT to TINYINT

* [EC-1014] Set Organization.Status default value = 1

* [EC-1014] Setting Organization.Status default value as 1

* [EC-459 / EC-428] Admin panel: Add Provider Type to list and creation flow (#2593)

* [EC-427] Add columns 'Type' and 'BillingPhone' to Provider table

* [EC-427] Provider table Type and BillingPhone MySql migrations

* [EC-427] Provider table Type and BillingPhone Postgres migrations

* [EC-427] Add mysql migration script

* [EC-427] Add mysql migration script

* [EC-427] Updated Provider sql script to include default column value

* [EC-427] Removed default value from Provider.Type column

* [EC-427] Changed migration script to include a default value constraint instead of updating the null type

* [EC-427] Updated Sql project Provider table script

* [EC-427] Changed migration script to use 'Create OR Alter' for views and sprocs

* [EC-427] Added default values for 'BillingPhone' and 'Type' fields on sprocs [dbo].[Provider_Create] and [dbo].[Provider_Update]

* [EC-427] Adjusting metadata in migration script

* [EC-427] Updated Provider sprocs SQL script files

* [EC-427] Fixed migration script

* [EC-427] Added sqlite migration

* [EC-427] Add missing Provider_Update sproc default value

* [EC-427] Added missing GO action to migration script

* [EC-459] Added Type column to Providers list

* [EC-428] Added Type, BusinessName and BillingEmail to CreateProviderModel

* [EC-428] Updated Create Provider view to include new fields

* [EC-428] Updated ProviderService to not create a ProviderUser for the type Reseller

* [EC-428] Added custom validation for Provider fields depending on selected Type

* [EC-428] Redirect to Edit after creating Provider

* [EC-428] Setting Provider status as Created for Resellers

* [EC-428] Redirect on Provider creation depending if self host server

* [EC-428] Split ProviderService.CreateAsync into two methods: CreateMspAsync and CreateResellerAsync

* [EC-428] Created ICreateProviderCommand and added service for injection on Admin.Startup

* [EC-428] Modified Provider views to use DisplayName attribute values

* [EC-428] Moved ICreateProviderCommand to Core project

* [EC-428] Adding ICreateProviderCommand injection next to IProviderService

* [EC-428] Moved CreateProviderCommand to Commercial.Core project

* [EC-459] Added Type column to Providers list

* [EC-428] Added Type, BusinessName and BillingEmail to CreateProviderModel

* [EC-428] Updated Create Provider view to include new fields

* [EC-428] Updated ProviderService to not create a ProviderUser for the type Reseller

* [EC-428] Added custom validation for Provider fields depending on selected Type

* [EC-428] Redirect to Edit after creating Provider

* [EC-428] Setting Provider status as Created for Resellers

* [EC-428] Redirect on Provider creation depending if self host server

* [EC-428] Split ProviderService.CreateAsync into two methods: CreateMspAsync and CreateResellerAsync

* [EC-428] Created ICreateProviderCommand and added service for injection on Admin.Startup

* [EC-428] Modified Provider views to use DisplayName attribute values

* [EC-428] Moved ICreateProviderCommand to Core project

* [EC-428] Adding ICreateProviderCommand injection next to IProviderService

* [EC-428] Moved CreateProviderCommand to Commercial.Core project

* [EC-428] Moved CreateProviderCommand to namespace Bit.Commercial.Core.Providers

* [EC-429] Provider details screen updated with Type, BillingPhone and Organization details (#2666)

* [EC-430] Admin portal: Update organization information screen (#2672)

* [EC-430] Added ProviderOrganizationProviderDetailsView to get Provider details for an Organization

* [EC-430] Added Provider information to Organization Edit/View on Admin panel

* [EC-430] Remove "Add to Reseller" button

* [EC-430] Removed unused property OrganizationEditModel.ClientOwnerEmail

* [EC-430] Replaced IProviderOrganizationRepository.GetProviderDetailsByOrganizationAsync with IProviderRepository.GetByOrganizationIdAsync

* [EC-430] Deleted ProviderOrganizationProviderDetails and ProviderOrganizationProviderDetailsReadByOrganizationIdQuery

* [EC-429] Only show Create/Add Existing Organization buttons for Reseller providers (#2723)

* [EC-432] Add existing Organizations to Provider (#2683)

* [EC-432] Added ProviderOrganizationUnassignedOrganizationDetails_Search stored procedure

* [EC-432] Added IProviderOrganizationRepository.SearchAsync

* [EC-432] Created controller ProviderOrganizationsController to assign Organizations to a Provider

* [EC-432] Filter existing organizations by plans Enterprise or Team

* [EC-432] Existing Organization name links to edit page

* [EC-432] EF filtering out existing organizations by plan type enterprise or teams

* [EC-432] Creating multiple ProviderOrganization records

* [EC-432] Added ProviderOrganizationUnassignedOrganizationDetails_Search stored procedure

* [EC-432] Added IProviderOrganizationRepository.SearchAsync

* [EC-432] Created controller ProviderOrganizationsController to assign Organizations to a Provider

* [EC-432] Filter existing organizations by plans Enterprise or Team

* [EC-432] Existing Organization name links to edit page

* [EC-432] EF filtering out existing organizations by plan type enterprise or teams

* [EC-432] Creating multiple ProviderOrganization records

* [EC-432] Renamed migration script and added missing sproc

* [EC-432] Saving multiple events for the created ProviderOrganizations

* [EC-432] Included unit testing for ProviderService.AddOrganizations and EventService.LogProviderOrganizationEventsAsync

* [EC-432] Removed async from NoopEventService.LogProviderOrganizationEventsAsync

* [EC-432] Remove unused dependency setup in ProviderServiceTests.AddOrganizations_Success

* [EC-432] Renamed AddOrganizations to AddOrganizationsToReseller and removed addingUserId and key arguments

* [EC-432] Added DisplayName attributes to ProviderOrganizationViewModel and used them in the view

* [EC-432] Reverted changes to input fields

* [EC-432] Moved unassigned organizations search to Organizations repo

* [EC-432] Moved AddExistingOrganization action to ProvidersController

* [EC-432] dotnet format

* [EC-432] Fixed unit test issues

* [EC-432] Removed unnecessary Html.DisplayNameFor for labels

* [EC-432] Renamed OrganizationSearchViewModel to OrganizationUnassignedToProviderSearchViewModel

* [EC-432] Modified IEventService.LogProviderOrganizationEventsAsync to receive an IEnumerable as parameter

* [EC-432] Updated IProviderOrganizationRepository and replaced CreateWithManyOrganizations method with CreateManyAsync

* [EC-432] Deleted ProviderOrganization_CreateWithManyOrganizations

* [AC-432] Simplified Organization_UnassignedToProviderSearch query

* [AC-432] Removed unnecessary setup

* [EC-432] Checking if stored procedure exists before creating

* [EC-432] Renamed migration file to recent date

* [EC-435] Admin Portal: Add new Organization creation flow UI (#2707)

* [EC-435] Created _OrganizationForm partial view. Added actions for creating an Organization assigned to a provider

* [EC-435] Remove logic for creating an organization

* [EC-435] Created partial view _OrganizationFormScripts

* [EC-435] Remove unused ReferenceEventType

* [EC-435] Added TODO comment on Organization Create

* [EC-435] Checking if Provider type is Reseller on creating new assigned organization

* [EC-435] Setting the Organization plan type as TeamsMonthly by default when adding to a provider

* [EC-435] Removing unused buttons

* [EC-435] Switched hidden fields to form submit route value

* [EC-435] Moved _OrganizationForm and _OrganizationFormScripts to Shared folder

* [EC-435] Moved Create organization actions from OrganizationsController to ProvidersController

* [EC-435] Fixing bug on saving Organization that would have BillingEmail as null

* [EC-435] Added null check to Provider

* [EC-435] Moved trial buttons script logic to Edit view

* [AC-431] Add new organization invite process (#2737)

* [EC-435] Created _OrganizationForm partial view. Added actions for creating an Organization assigned to a provider

* [EC-435] Remove logic for creating an organization

* [EC-435] Created partial view _OrganizationFormScripts

* [EC-435] Remove unused ReferenceEventType

* [EC-435] Added TODO comment on Organization Create

* [EC-435] Checking if Provider type is Reseller on creating new assigned organization

* [EC-435] Setting the Organization plan type as TeamsMonthly by default when adding to a provider

* [EC-435] Removing unused buttons

* [EC-435] Switched hidden fields to form submit route value

* [EC-435] Moved _OrganizationForm and _OrganizationFormScripts to Shared folder

* [EC-435] Moved Create organization actions from OrganizationsController to ProvidersController

* [AC-431] Added new ReferenceEventType OrganizationCreatedByAdmin

* [AC-431] Added method IOrganizationService.CreateOrganization

* [AC-431] Creating new Organization with Pending status and assigning to Provider

* [AC-431] Added method to IMailService to send invitation to initialize org

* [AC-431] Added methods CreatePendingOrganization and InitPendingOrganization to IOrganizationService

* [AC-431] Org invite includes initOrganization parameter

* [AC-431] Modified existing Accept organization user action to initialize org

* [AC-431] Updated ProvidersController method name

* [AC-431] Created OrganizationUserInitInvitedViewModel to link to 'accept-init-organization' url

* [AC-431] Added action AcceptInit to OrganizationUsersController

* [AC-431] Resend owner invite

* [AC-431] dotnet format

* [AC-431] Removed unused parameter 'addingUserId' from IProviderService.AddOrganization

* [AC-431] Removed setting manual values for CreationDate and RevisionDate

* [AC-431] Updated OrganizationService.InitPendingOrganization to throw exceptions when the Organization does not meet the required criteria

* [AC-431] Modified OrganizationUserInitInvitedViewModel to inherit properties from OrganizationUserInvitedViewModel

* [AC-431] Removed unecessary parameter check

* [AC-431] Moved method description to IOrganizationService.InitPendingOrganization

* [AC-431] Moved ApplicationCacheService.UpsertOrganizationAbilityAsync and ReferenceEventService.RaiseEventAsync to OrganizationService

* [AC-431] Creating collection after creating organization

* [EC-435] Fixing bug on saving Organization that would have BillingEmail as null

* [AC-431] Deleted OrganizationUserInitInvitedViewModel and added parameter InitOrganization to OrganizationUserInvitedViewModel.cs

* [AC-431] Checking if the user has any existing SingleOrg policies before initializing an Org

* [AC-431] Remove commented code

* [EC-435] Added null check to Provider

* [EC-435] Moved trial buttons script logic to Edit view

* [AC-431] Added EncryptedString attribute to OrganizationUserAcceptInitRequestModel.CollectionName

* [AC-431] Refactored plan check condition

* [AC-431] Remove duplicate _applicationCacheService.UpsertOrganizationAbilityAsync call

* [AC-431] Removed IMailService.SendOrganizationInitInviteEmailAsync

* [AC-431] Added parameters ClaimsPrincipal and IUserService to IOrganizationService.CreatePendingOrganization

* [AC-434] Hide Billing screen for Reseller clients (#2783)

* [AC-434] Added ProviderType to ProfileOrganizationResponseModel

* [AC-434] Migration script

* [AC-434] Fixed indentation on migration script

* [AC-434] Hiding sensitive subscription data if the user does not have permissions

* [AC-434] Fixed missing dependency in unit test

* [AC-434] Altered BillingSubscription.Amount and BillingSubscriptionUpcomingInvoice.Amount to nullable

* [AC-434] Replaced CurrentContext.ManageBilling with ViewBillingHistory, ViewSubscription, EditSubscription and EditPaymentMethods

* [AC-434] Reverted change on BillingSubscription.Amount and now setting Subscription.Items = null when User does not have permission

* [AC-434] Added ProviderOrganizationProviderDetails_ReadByUserId

* [AC-434] Added IProviderOrganizationRepository.GetManyByUserAsync

* [AC-434] Added CurrentContext.GetOrganizationProviderDetails

* [AC-434] Remove unneeded join Organization table

* [AC-1255] Search Existing Organizations by partial Email (#2830)

* [AC-1255] Added email search field input validation

* [AC-1255] Reverted added email pattern

* [AC-1255] Modified Organization search by Email to search using substring

* [AC-1276] Displaying an Organizations pending owners if the Organization is in a Pending status (#2834)

* [AC-432] Checking that an existing Organization is not assigned to any Provider before being assigned (#2840)

* [AC-432] Checking if any of the selected Organizations is already assigned to a Provider

* [AC-432] Changed ProviderOrganization_ReadByOrganizationIds to only get count

* [AC-432] Replaced IProviderOrganizationRepository.GetCountByOrganizationIdsAsync with call to IProviderOrganizationRepository.GetByOrganizationId

* [AC-432] undo new line

* [AC-432] Fixed unit test

* Revert "[AC-432] Replaced IProviderOrganizationRepository.GetCountByOrganizationIdsAsync with call to IProviderOrganizationRepository.GetByOrganizationId"

This reverts commit ee6e095e88.

# Conflicts:
#	util/Migrator/DbScripts/2023-03-22_00_ProviderAddExistingOrganizations.sql

* [AC-432] Created new migration script for ProviderOrganization_ReadCountByOrganizationIds
2023-04-14 11:13:16 +01:00
..
2017-08-19_00_InitialSetup.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-08-22_00_LicenseCheckScripts.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-08-30_00_CollectionWriteOnly.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-09-06_00_CipherDetails.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-09-08_00_OrgUserCounts.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-10-25_00_OrgUserUpdates.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-11-06_00_FamilyPlanAdjustments.sql Update SQL files to be backwards compatible when adding columns (#1635) 2021-10-15 12:28:21 -04:00
2017-11-13_00_IndexTuning.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-11-24_00_UpdateProcs.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2017-12-12_00_Events.sql Update SQL files to be backwards compatible when adding columns (#1635) 2021-10-15 12:28:21 -04:00
2018-02-28_00_LoginUris.sql [SM-206] Update sqlproject to match migrations (#2246) 2022-09-08 21:42:02 +02:00
2018-03-12_00_FixLoginUris.sql [SM-206] Update sqlproject to match migrations (#2246) 2022-09-08 21:42:02 +02:00
2018-03-21_00_AdminPortal.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-04-02_00_Org2fa.sql Update SQL files to be backwards compatible when adding columns (#1635) 2021-10-15 12:28:21 -04:00
2018-04-24_00_CipherQueryTuning.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-06-11_00_WebVaultUpdates.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-07-28_00_DbTuning.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-08-14_00_UserKdf.sql Fix UserKdf and UserApiKey migrations to only update null values (#1494) 2021-08-03 15:54:47 -04:00
2018-08-28_00_PremiumOrgAbilities.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-09-25_00_OrgPurge.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-10-17_00_ManagerRole.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2018-12-19_00_OrgUserTwoFactorEnabled.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2019-01-31_00_Transactions.sql move migrator project to util 2019-03-25 13:23:50 -04:00
2019-03-01_00_OrgApi.sql Update SQL files to be backwards compatible when adding columns (#1635) 2021-10-15 12:28:21 -04:00
2019-05-01_00_CipherOrgDetailsFix.sql fix issues on cipher admin endpoints 2019-05-01 09:38:13 -04:00
2019-05-15_00_GroupNameFixes.sql group name fix 2019-05-15 22:38:52 -04:00
2019-05-28_00_CollectionCipherImprovements.sql collection cipher query improvements 2019-05-28 23:55:47 -04:00
2020-02-18_00_PolicySetup.sql Update SQL files to be backwards compatible when adding columns (#1635) 2021-10-15 12:28:21 -04:00
2020-03-26_00_CipherSoftDelete.sql Updated PR comments, changed smart defaults for behavior, updated Cipher table index 2020-03-27 10:23:37 -04:00
2020-04-01_00_CipherSoftDelete.sql [Soft-Delete] Simplify the data-tier, removed extra sprocs and reuse update 2020-04-01 16:39:27 -04:00
2020-04-02_00_CipherSoftDelete.sql [Soft Delete] - cleanup whitespace in Cipher_Restore 2020-04-10 10:51:27 -04:00
2020-04-09_00_CipherSoftDelete.sql [Soft Delete] - Add not null/is null filters to soft delete and restore sprocs 2020-04-09 15:25:17 -04:00
2020-05-02_00_SprocPerfTweaks.sql Sproc tweaks (#730) 2020-05-21 11:35:00 -04:00
2020-05-22_00_HiddenPassword.sql Update SQL files to be backwards compatible when adding columns (#1635) 2021-10-15 12:28:21 -04:00
2020-06-23_00_OrgIdentifier.sql DAL & CRUD for SSO 2020-06-25 16:42:29 -04:00
2020-06-24_00_SsoConfig.sql Remove Id from SsoConfig_Create sproc 2020-06-26 16:47:41 -04:00
2020-06-25_00_ReferenceId.sql DAL & CRUD for SSO 2020-06-25 16:42:29 -04:00
2020-07-17_00_ReferenceData.sql Transition reference id to data (#828) 2020-07-20 15:19:46 -04:00
2020-07-20_00_OrgSso.sql Update SQL files to be backwards compatible when adding columns (#1635) 2021-10-15 12:28:21 -04:00
2020-07-21_00_BulkDeleteCiphersAsOrgAdmin.sql missing go 2020-07-28 21:53:12 -04:00
2020-07-27_00_SsoUser.sql Sso user table, model and repo stubbed out (#837) 2020-07-28 10:03:09 -04:00
2020-07-28_00_SsoBound.sql return if org user has sso binding (#839) 2020-07-28 21:11:45 -04:00
2020-07-30_00_IdServerv4.sql upgrade identity server 4 to v4 (#842) 2020-07-30 17:00:13 -04:00
2020-08-12_00_OrgIdentifierProc.sql Added PreValidate endpoint on Account controller (#896) 2020-08-28 12:14:23 -04:00
2020-08-13_00_AllowNullMasterPassword.sql allow user registration for sso (#865) 2020-08-13 17:30:10 -04:00
2020-08-19_00_AddIdentifierToOrgView.sql Create sso user api (#886) 2020-08-26 14:12:04 -04:00
2020-08-19_00_SsoConfigGetAll.sql Added get for sso config repo by revision date (#878) 2020-08-19 13:35:17 -04:00
2020-08-28_00_OrgByIdentifierFix.sql Added PreValidate endpoint on Account controller (#896) 2020-08-28 12:14:23 -04:00
2020-09-01_00_DeleteSsoUser.sql delete sso user when deleting org user (#901) 2020-09-01 15:07:47 -04:00
2020-09-01_01_DeleteSsoUser2.sql delete ssouser on org and user delete (#902) 2020-09-01 16:05:37 -04:00
2020-09-02_00_DeleteSsoConfig.sql delete sso config when deleting org (#904) 2020-09-02 10:48:15 -04:00
2020-10-06_00_Send.sql Send APIs (#979) 2020-11-02 15:55:49 -05:00
2020-10-08_00_DeleteOrgUserWithOrg.sql [Require SSO] Enterprise policy enforcement (#970) 2020-10-26 11:56:16 -05:00
2020-10-14_00_OrgUserReadByUserIds.sql Only org policy (#962) 2020-10-20 02:48:10 -04:00
2020-10-20_00_OrgReadAbilities.sql [Require SSO] Enterprise policy enforcement (#970) 2020-10-26 11:56:16 -05:00
2020-10-28_00_UserApiKey.sql Fix UserKdf and UserApiKey migrations to only update null values (#1494) 2021-08-03 15:54:47 -04:00
2020-11-16_00_SalesTax.sql fixed a copy/paste bug in the tax rate migration script (#1077) 2021-01-07 16:36:18 -05:00
2020-11-18_00_EmergencyAccess.sql Add support for Emergency Access (#1000) 2020-12-16 14:36:47 -05:00
2020-12-04_00_OrgUserReadByOrgEmail.sql Fix sproc name mismatch in migration sql (#1066) 2020-12-30 16:21:14 -05:00
2020-12-06_00_OrgUserOrgDetailsReadByUserIdStatusOrgId.sql [Policy] Personal Ownership (#1013) 2020-12-11 10:45:26 -06:00
2020-12-14_00_Permissions.sql Implemented Custom role and permissions (#1057) 2021-01-12 11:02:39 -05:00
2021-01-05_00_ReturnRevisionDateOnCipherRestore.sql Add cipher response to restore (#1072) 2021-01-08 08:52:42 -06:00
2021-01-28_00_AddDeleteSendsToUserDeleteById.sql Delete sends belonging to user on user delete (#1116) 2021-02-05 12:37:55 -06:00
2021-02-26_00_EmergencyAccess_ReadToNotify.sql [Bug] Updated incorrect formatting/spelling on migrator script (#1228) 2021-03-22 10:24:28 -05:00
2021-03-04_00_Installation_Enlarge_Email_Column.sql Fixes #1101: Extend email column length to 256 characters (MSSQL) (#1191) 2021-03-18 16:43:49 -04:00
2021-03-04_01_User_Enlarge_Email_Column.sql Fixes #1101: Extend email column length to 256 characters (MSSQL) (#1191) 2021-03-18 16:43:49 -04:00
2021-03-04_02_Organization_Enlarge_Email_Column.sql Fixes #1101: Extend email column length to 256 characters (MSSQL) (#1191) 2021-03-18 16:43:49 -04:00
2021-03-04_03_OrganizationUser_Enlarge_Email_Column.sql Fix column NULLness for OrganizationUser table (#1239) 2021-03-24 12:50:57 -04:00
2021-03-04_04_EmergencyAccess_Enlarge_Email_Column.sql Fix emergency access migration not working (#1244) 2021-03-29 17:28:36 +02:00
2021-03-22_00_Send_Add_HideEmail_Column.sql Hide email address in Sends (#1234) 2021-03-29 07:56:56 +10:00
2021-03-23_00_AddResetPasswordKey.sql [Reset Password] Update all existing tables/sprocs/migrator scripts (#1235) 2021-03-23 16:04:11 -05:00
2021-03-26_00_CipherDeletedIndex.sql job to delete trashed ciphers nightly (#1243) 2021-04-02 11:14:21 -04:00
2021-04-07_00_IncreaseOrgSeatSize.sql Support large organization sync (#1311) 2021-05-17 09:43:02 -05:00
2021-04-16_00_OrganizationUser_DeleteMany.sql Support large organization sync (#1311) 2021-05-17 09:43:02 -05:00
2021-04-27_00_OrganizationUser_UpsertMany.sql Support large organization sync (#1311) 2021-05-17 09:43:02 -05:00
2021-04-28_00_OrgResetPasswordAbilityAndRsaKeys.sql [Reset Password] Updated OrgResetPasswordAbilityAndRsaKeys sql script (#1418) 2021-06-28 12:15:55 -05:00
2021-04-30_00_Select_Known_OrganizationUsers_Emails.sql Support large organization sync (#1311) 2021-05-17 09:43:02 -05:00
2021-05-04_00_CipherPasswordPromptFixed.sql Fix password re-prompt not working in org view (#1296) 2021-05-04 20:36:35 +02:00
2021-05-11_00_BulkReinvite.sql Fix typo in bulk reinvinte migration (#1357) 2021-05-27 17:29:23 +02:00
2021-05-18_00_BulkConfirm.sql Fix bulk fingerprints (#1442) 2021-07-07 20:21:52 +10:00
2021-05-27_00_SetQuotedIdentifier.sql Explicitly set quoted identifier on for problem objects (#1360) 2021-06-01 14:52:22 -05:00
2021-07-07_00_FixBulkConfirm.sql Fix bulk fingerprints (#1442) 2021-07-07 20:21:52 +10:00
2021-07-08_00_EntityFrameworkSupport.sql Postgres & MySql Support For Self-Hosted Installations (#1386) 2021-07-08 16:35:48 +00:00
2021-07-13_00_UserForcePasswordReset.sql [Reset Password v1] Fixed ForcePasswordReset migration script (#1484) 2021-07-23 08:48:34 -05:00
2021-07-15_00_OrganizationUserReadByMinimumRole.sql fixed a bad migration change (#1511) 2021-08-12 13:06:02 -04:00
2021-07-22_00_FixCollectionReadBy.sql Fix conflicting group permissions (#1473) 2021-08-02 11:49:27 +10:00
2021-07-22_00_Provider.sql Fix case inconsitency in provider migration (#1806) 2022-01-12 15:25:15 +01:00
2021-08-12_00_ReadByMinimumRoleCheckStatus.sql Add OrganizationUser_ReadByMinimumRole to Sql.sqlproj (#1555) 2021-09-07 15:42:44 +02:00
2021-08-18_00_AutoscaleOrganizationsSeats.sql Organization autoscaling (#1585) 2021-09-23 05:36:08 -05:00
2021-08-19_00_FixTaxRate.sql Increase sales tax precision from 2 to 3 decimal places (#1525) 2021-08-24 06:52:59 +10:00
2021-09-02_00_SsoUserReadyByUserIdOrganizationId.sql Remove stale SsoUser objects from database (#1560) 2021-09-03 10:54:41 -04:00
2021-09-10_00_DeleteProviderUser.sql Resolve error when deleting an account connected to a provider (#1580) 2021-09-15 20:34:06 +02:00
2021-09-16_00_PolicyApplicableToUser.sql Refactor policy checks (#1536) 2021-09-28 06:54:28 +10:00
2021-09-21_01_SplitManageCollectionsJson.sql ⚠️ Do not specify database in migration files (#1628) 2021-10-11 10:20:21 -05:00
2021-10-21_00_DefaultAutoscaleLimitToCurrentSeats.sql Default autoscaling to off (#1659) 2021-10-22 08:11:14 -05:00
2021-11-01_00_FixPolicyApplicableToUser.sql Fix policy enforcement against invited users (#1680) 2021-11-03 07:08:13 +10:00
2021-11-02_00_OrganizationSponsorship.sql Families for Enterprise (#1714) 2021-11-19 17:25:06 -05:00
2021-11-08_00_KeyConnector.sql Add support for Key Connector OTP and account migration (#1663) 2021-11-09 16:37:32 +01:00
2021-11-09_00_DropUsesCryptoAgent.sql [bug] Drop unused db column UsesCryptoAgent (#1704) 2021-11-09 12:33:18 -05:00
2021-11-12_00_KeyConnectorFlag.sql Key Connector feature toggle (#1716) 2021-11-17 11:46:35 +01:00
2021-11-18_00_MergeKeyConnectorAndFFE.sql Families for Enterprise (#1714) 2021-11-19 17:25:06 -05:00
2021-11-23_00_NullOrganizationSponsorshipOnFkDelete.sql Null out sponsorship values when foreign key deleted (#1733) 2021-11-24 08:26:11 -06:00
2021-11-30_00_NullOrganizationSponsorshipOnOrgDelete.sql Null org, org user ids, and friendly name to indicate invalid, unused sponsorship state (#1738) 2021-12-01 14:34:56 -06:00
2022-01-21_00_RemoveU2F.sql Remove the u2f lib (#1820) 2022-01-24 12:14:04 +01:00
2022-02-10_00_FailedLoginCaptcha.sql [Captcha] Update migration script with Default Constraint (#1905) 2022-03-11 16:38:52 -06:00
2022-03-01_00_AddApiKeysTable.sql Limit migrations to only once (#1996) 2022-05-12 10:11:47 -04:00
2022-04-06_00_SponsorshipBulkActions.sql Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
2022-04-13_00_OrganizationSponsorshipUpdates.sql Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
2022-04-14_00_ReadOrganizationConnectionsByOrganizationId.sql Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
2022-04-15_00_FixOrganizationConnectionCreate.sql Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
2022-04-20_00_AddInstalltionIdToEvents.sql Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
2022-05-10_00_RebuildMetadata.sql Feature/self hosted families for enterprise (#1991) 2022-05-10 16:12:09 -05:00
2022-05-23_00_OrgUserDelete.sql Change OrgUser Delete Behavior (#2010) 2022-05-23 15:50:54 -04:00
2022-05-24_00_DeviceUnknownVerification.sql [PS-589] Fix DeviceUnknownVerification User_Update proc (#2041) 2022-06-13 16:42:24 +02:00
2022-05-31_00_CipherOrganizationDetails.sql [PS-165] Missing copy verification code (#2022) 2022-06-07 16:52:07 +01:00
2022-06-08_00_DeactivatedUserStatus.sql EC-262 - implement org user deactivated flag and behavior server (#2050) 2022-06-16 15:59:57 -04:00
2022-06-24_00_UseScimFlag.sql [EC-261] SCIM (#2105) 2022-07-14 15:58:48 -04:00
2022-07-15_00_FixOrgUserDetails.sql update OrgUserDetailsView to include PlanType and other sponsorship parameters previously removed (#2122) 2022-07-17 20:28:46 -04:00
2022-07-19_00_FixUseScimFlag.sql Add migration script to rebuild OrganizationView (#2127) 2022-07-19 09:10:44 -04:00
2022-07-20_00_ProviderOrganizationListDetails.sql [EC-247] Add columns to provider portal clients table (#2136) 2022-07-28 09:31:03 +01:00
2022-07-28_00_CheckPoliciesOnRestore.sql [EC-388] Enforce organization policies when restoring user (#2152) 2022-08-02 17:09:22 -04:00
2022-09-08_00_CipherMovePermissions.sql Ps 976 moving of read only organization collection items to different folder not possible (#2257) 2022-10-25 12:23:49 -07:00
2022-09-12_00_AuthRequestInit.sql [SG-167] Implement Passwordless Authentication via Notifications (#2276) 2022-09-26 13:21:13 -04:00
2022-09-12_01_AuthRequestUpdate.sql [SG-169] Add arguements to AuthRequest_Update.sql (#2313) 2022-09-28 14:46:07 -04:00
2022-09-20_00_AvatarColor.sql [SG-58] Avatar color selector (#2330) 2023-01-01 11:28:59 -05:00
2022-09-26_00_EventsSystemUser.sql [EC-449] Event log user for SCIM events (#2306) 2022-11-09 12:13:29 +00:00
2022-10-11_00_UseCustomPermissionsFlag.sql [EC-343] Gate custom permissions behind enterprise plan (#2352) 2022-12-06 09:50:08 +00:00
2022-10-24_00_AuthRequestAddApprovedColumn.sql [SG-763] Store the fact that a Passwordless request was denied in the AuthRequest table (#2363) 2022-10-25 17:14:48 -04:00
2022-10-24_00_CollectionManagement.sql [EC-647] OAVR v2 Feature Branch Merge (#2588) 2023-01-19 11:00:54 -05:00
2022-10-24_01_ReadGroupsWithCollectionsByOrgId.sql [EC-647] OAVR v2 Feature Branch Merge (#2588) 2023-01-19 11:00:54 -05:00
2022-10-25_00_CollectionsWithGroupsAndUsers.sql [EC-647] OAVR v2 Feature Branch Merge (#2588) 2023-01-19 11:00:54 -05:00
2022-11-03_00_OrganizationDomainInit.sql [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
2022-11-18_00_PolicyReadByUserIdRemoveEnabledOrgCheck.sql Defect/SG-825 - users in org w/ no personal vault still see personal vault (disabled org policies now still apply) (#2429) 2022-12-16 15:22:39 -05:00
2022-12-08_00_EventsDomainName.sql [SG-147] Organization Domain Claiming Feature (#2704) 2023-02-15 14:26:41 -05:00
2022-12-08_00_OrgUserGroupsAndCollections.sql [EC-647] OAVR v2 Feature Branch Merge (#2588) 2023-01-19 11:00:54 -05:00
2022-12-26_00_ProviderAddProviderTypeBillingPhone.sql [EC-427] Add provider types (MSP/Reseller) to Provider table (#2518) 2023-01-23 16:08:05 +00:00
2023-01-06_00_SecretsManager.sql [SM-394] Secrets Manager (#2164) 2023-01-13 15:02:53 +01:00
2023-01-13_00_AddAvatarColorToEmergencyAccess.sql [SG-927] Pull the user's selected avatar color from the state store and display on Emergency Contacts page (#2582) 2023-01-20 13:11:16 -05:00
2023-01-15_00_KDFOptions.sql [EC-1043] Fix syntax error in ReadKdfByEmail query (#2631) 2023-01-26 15:34:18 +10:00
2023-01-17_00_SecretsManagerOrganizationUser.sql [SM-378] Enable SM on a user basis (#2590) 2023-01-31 18:38:53 +01:00
2023-01-18_00_FixOrganizationDeleteOrgDomain.sql Fix name of FixOrganizationDeleteOrgDomain (#2706) 2023-02-16 15:53:28 +01:00
2023-01-20_00_OrganizationStatus.sql [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
2023-01-20_00_SecretsManager_Admin_Fix.sql [SM-454] Refresh OrganizationView (#2605) 2023-01-23 18:03:45 +01:00
2023-01-23_00_AddAvatarToOrganizationUsers.sql [SG-783] Change organization user list to pull the user's selected color and display it in the avatar (#2630) 2023-02-21 15:59:50 -05:00
2023-01-24_00_AutoscalingProviderOrgFixes.sql Defect/SG-992 ProviderOrgs Missing Plan Type & EC-591/SG-996 - Provider Org Autoscaling Email Invites Working (#2596) 2023-01-26 11:51:26 -05:00
2023-01-26_00_FixUserReadKdfByEmail.sql [EC-1043] Fix syntax error in ReadKdfByEmail query (#2631) 2023-01-26 15:34:18 +10:00
2023-02-01_00_LastUserDates.sql add timestamps to user table for security related events (#2660) 2023-02-02 14:39:57 -05:00
2023-02-06_00_ProviderReadByOrganizationId.sql [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
2023-02-14_00_RevokeApiKeys.sql [SM-501] Add support for revoking access tokens (#2692) 2023-02-16 10:51:02 +01:00
2023-02-16_00_SecretsManagerEvent.sql [SM-389] Event log for service account (#2674) 2023-02-24 16:44:33 +01:00
2023-02-16_00_SelfHostedOrganizationDetails.sql [EC-635] Extract organizationService.UpdateLicenseAsync to a command (#2408) 2023-02-24 07:54:19 +10:00
2023-02-16_FixSsoAvailableOrganizationDomain.sql [SG-1082]-Defect-Update stored procedure to properly determine is SSO is available (#2715) 2023-02-17 13:19:21 -05:00
2023-02-22_FixOrganizationUserUserDetailsViewOutOfSync.sql [PM-1128] Add Migration to Sync OrganizationUserUserDetailsView (#2732) 2023-02-22 19:11:16 -05:00
2023-02-22_FixReturningExpiredDomainsAfterSpecifiedPeriod.sql Made correction to the domain used to domains that have been unverified after 72 hours. Instead of doing a greater than or equal to the condition is set to a fixed period 4, so domains after 4 days which are uneverified would not be picked up by the service (#2729) 2023-02-22 19:25:26 -05:00
2023-03-08_OrganizationProviderType.sql [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
2023-03-15_AuthRequestRemoveFingerprintPhrase.sql [PM-107] Remove fingerprint phase 2 (#2809) 2023-03-23 13:08:49 +00:00
2023-03-22_00_ProviderAddExistingOrganizations.sql [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00
2023-03-30_00_RemovePolicyCheckOrganizationDomainSsoDetais.sql Modified sso details stored procedure to remove policy checks or an organization (#2831) 2023-04-03 11:03:59 -04:00
2023-04-13_00_ProviderReadCountByOrganizationIds.sql [AC-1081] Merge feature/billing-obfuscation (#2665) 2023-04-14 11:13:16 +01:00