Data Changes, Be Very Careful!!!
FOR-2260
This is taken from a new dataprovider file, but i recomend replacing proper items and running manually. Otherwise, you could cause future upgrade conflicts.
"if exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}Forum_UserDeleteReads') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure {databaseOwner}{objectQualifier}Forum_UserDeleteReads
GO
if exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}Forum_UserThreadsDelete') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure {databaseOwner}{objectQualifier}Forum_UserThreadsDelete
GO
CREATE PROCEDURE {databaseOwner}{objectQualifier}Forum_UserDeleteReads
@UserId int
AS
DELETE FROM {objectQualifier}Forum_UserThreads
WHERE UserID = @UserId
DELETE FROM {objectQualifier}Forum_UserForums
WHERE UserID = @UserId
GO
CREATE PROCEDURE {databaseOwner}{objectQualifier}Forum_UserThreadsDelete
@UserID int,
@ThreadID int
AS
DELETE FROM {objectQualifier}Forum_UserThreads
WHERE
UserID = @UserID
AND
ThreadID = @ThreadID
GO"