
[dbo].[usm_link_schema_slo_template]
CREATE TABLE [dbo].[usm_link_schema_slo_template]
(
[schema_id] [int] NOT NULL,
[slo_template_id] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_link_schema_slo_template] ADD CONSTRAINT [XPKusm_link_schema_slo_template] PRIMARY KEY CLUSTERED ([schema_id], [slo_template_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_link_schema_slo_template] ADD CONSTRAINT [$usm_l_r0000256d00000000] FOREIGN KEY ([slo_template_id]) REFERENCES [dbo].[usm_slo_template] ([slo_template_id])
GO
ALTER TABLE [dbo].[usm_link_schema_slo_template] ADD CONSTRAINT [$usm_l_r0000257700000000] FOREIGN KEY ([schema_id]) REFERENCES [dbo].[usm_schema] ([schema_id])
GO
ALTER TABLE [dbo].[usm_link_schema_slo_template] ADD CONSTRAINT [$usm_l_r0000305d00000000] FOREIGN KEY ([slo_template_id]) REFERENCES [dbo].[usm_slo_template] ([slo_template_id])
GO
GRANT SELECT ON [dbo].[usm_link_schema_slo_template] TO [usmgroup]
GRANT INSERT ON [dbo].[usm_link_schema_slo_template] TO [usmgroup]
GRANT DELETE ON [dbo].[usm_link_schema_slo_template] TO [usmgroup]
GRANT UPDATE ON [dbo].[usm_link_schema_slo_template] TO [usmgroup]
GO