Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change activeforums_EmailNotificationQueue Id column from int to bigint/long #758

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dnn.CommunityForums/Entities/EmailNotificationQueueInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace DotNetNuke.Modules.ActiveForums.Entities
[PrimaryKey("Id", AutoIncrement = true)]
public class EmailNotificationQueueInfo
{
public int Id { get; set; }
public long Id { get; set; }
public int PortalId { get; set; }
public int ModuleId { get; set; }
public string EmailFrom { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion Dnn.CommunityForums/sql/08.01.00.SqlDataProvider
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'{databaseOwn
DROP TABLE {databaseOwner}[{objectQualifier}activeforums_EmailNotificationQueue]
GO
CREATE TABLE {databaseOwner}{objectQualifier}activeforums_EmailNotificationQueue (
[Id] [int] IDENTITY (1, 1) NOT NULL,
[Id] [bigint] IDENTITY (1, 1) NOT NULL,
[PortalId] [int] NOT NULL CONSTRAINT [DF_{objectQualifier}activeforums_EmailNotificationQueue_PortalId] DEFAULT(-1),
[ModuleId] [int] NOT NULL CONSTRAINT [DF_{objectQualifier}activeforums_EmailNotificationQueue_ModuleId] DEFAULT(-1),
[EmailFrom] [nvarchar] (255) NULL ,
Expand Down