/****** Object:  Index [UIX_T_DTO_ITEM_DtoModel_Name]    Script Date: 15.12.2018 16:57:41 ******/
IF  EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[VCLib].[T_DTO_ITEM]') AND name = N'UIX_T_DTO_ITEM_DtoModel_Name')
DROP INDEX [UIX_T_DTO_ITEM_DtoModel_Name] ON [VCLib].[T_DTO_ITEM]
GO

/****** Object:  Index [UIX_T_DTO_ITEM_DtoModel_Name]    Script Date: 15.12.2018 16:57:41 ******/
IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[VCLib].[T_DTO_ITEM]') AND name = N'UIX_T_DTO_ITEM_DtoModel_Name')
CREATE UNIQUE NONCLUSTERED INDEX [UIX_T_DTO_ITEM_DtoModel_Name] ON [VCLib].[T_DTO_ITEM]
(
	[DtoModel] ASC,
	[Name] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO



/****** Object:  Index [UIX_T_DTO_MODEL_VIEW_DtoModel_Context]    Script Date: 15.12.2018 16:58:52 ******/
IF  EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[VCLib].[T_DTO_MODEL_VIEW]') AND name = N'UIX_T_DTO_MODEL_VIEW_DtoModel_Context')
DROP INDEX [UIX_T_DTO_MODEL_VIEW_DtoModel_Context] ON [VCLib].[T_DTO_MODEL_VIEW]
GO

/****** Object:  Index [UIX_T_DTO_MODEL_VIEW_DtoModel_Context]    Script Date: 15.12.2018 16:58:52 ******/
IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[VCLib].[T_DTO_MODEL_VIEW]') AND name = N'UIX_T_DTO_MODEL_VIEW_DtoModel_Context')
CREATE UNIQUE NONCLUSTERED INDEX [UIX_T_DTO_MODEL_VIEW_DtoModel_Context] ON [VCLib].[T_DTO_MODEL_VIEW]
(
	[DtoModel] ASC,
	[Context] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO