[dbo].[PlasticDealAuthorization]
CREATE TABLE [dbo].[PlasticDealAuthorization]
(
[DealAuthorizationID] [int] NOT NULL IDENTITY(1, 1),
[DealFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticDealAuthorization] ADD CONSTRAINT [PK_PlasticDealAuthorization] PRIMARY KEY CLUSTERED ([DealAuthorizationID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_PlasticDealAuthorization_DealFID] ON [dbo].[PlasticDealAuthorization] ([DealFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticDealAuthorization] ADD CONSTRAINT [FK_PlasticDealAuthorization_Deal] FOREIGN KEY ([DealFID]) REFERENCES [dbo].[PlasticDeal] ([DealID])
GO
GRANT SELECT ON [dbo].[PlasticDealAuthorization] TO [MssExec]
GRANT INSERT ON [dbo].[PlasticDealAuthorization] TO [MssExec]
GRANT DELETE ON [dbo].[PlasticDealAuthorization] TO [MssExec]
GRANT UPDATE ON [dbo].[PlasticDealAuthorization] TO [MssExec]
GO