
/****** Object:  Table [dbo].[ApiFeatures]    Script Date: 2021-09-06 20:41:37 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[ApiFeatures](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[ErpId] [int] NOT NULL,
	[Value] [nvarchar](max) NULL,
	[Name] [nvarchar](max) NULL,
	[FeatureDefId] [int] NOT NULL,
	[ParentId] [int] NOT NULL,
	[ParentDbId] [int] NOT NULL,
	[GrandParentId] [int] NOT NULL,
	[ParentType] [int] NOT NULL,
	[VendorId] [int] NOT NULL,
	[TS] [datetime] NOT NULL,
	[Status] [int] NOT NULL,
 CONSTRAINT [PK_dbo.ApiFeatures] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO


