UPDATE [dbo].[WorkspaceIntegrations]
SET [WorkspaceId] = @WorkspaceId, [SystemType] = @SystemType, [Endpoint] = @Endpoint, [Token] = @Token, [AuthType] = @AuthType, [BotUserName] = @BotUserName, [ProjectKey] = @ProjectKey, [TypeField] = @TypeField, [StatusField] = @StatusField, [EstimateField] = @EstimateField, [PriorityField] = @PriorityField, [IsPrimary] = @IsPrimary, [CreatedAt] = @CreatedAt, [ConnectedAtUtc] = @ConnectedAtUtc, [ConnectionState] = @ConnectionState, [LastTestError] = @LastTestError, [LastTestedAtUtc] = @LastTestedAtUtc, [WebhookId] = @WebhookId, [WebhookSecret] = @WebhookSecret, [CreateIntegrationIssuesOnDecomposition] = @CreateIntegrationIssuesOnDecomposition, [AutoAssignIntegrationIssuesOnDecomposition] = @AutoAssignIntegrationIssuesOnDecomposition
WHERE [Id] = @Id;
