if not exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}[{objectQualifier}tblNaDevEventsEventPlannerPortalSetting]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
 begin

	CREATE TABLE {databaseOwner}[{objectQualifier}tblNaDevEventsEventPlannerPortalSetting](
		[Id] [int] IDENTITY(1,1) NOT NULL,
		[PortalId] [int] NOT NULL,
		[Key] [nvarchar] (max) not null,
		[Value] [nvarchar] (max) not null
	 CONSTRAINT [PK_{objectQualifier}tblNaDevEventsEventPlannerPortalSetting] PRIMARY KEY CLUSTERED 
	(
		[Id] ASC
	)
	)
 end
GO