
[dbo].[usm_request_pending_act_hist]
CREATE TABLE [dbo].[usm_request_pending_act_hist]
(
[req_pend_act_hist_id] [int] NOT NULL,
[req_pend_act_id] [int] NOT NULL,
[reassigned_req_pend_act_id] [int] NULL,
[action_type] [int] NOT NULL,
[modified_by] [nvarchar] (128) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[modified_date] [datetime] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_request_pending_act_hist] ADD CONSTRAINT [XPKusm_request_pending_act_hi] PRIMARY KEY CLUSTERED ([req_pend_act_hist_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_request_pending_act_hist] ADD CONSTRAINT [XFK1usm_request_pending_act_hi] FOREIGN KEY ([req_pend_act_id]) REFERENCES [dbo].[usm_request_pending_action] ([request_pending_action_id])
GO
ALTER TABLE [dbo].[usm_request_pending_act_hist] ADD CONSTRAINT [XFK2usm_request_pending_act_hi] FOREIGN KEY ([reassigned_req_pend_act_id]) REFERENCES [dbo].[usm_request_pending_action] ([request_pending_action_id])
GO
GRANT SELECT ON [dbo].[usm_request_pending_act_hist] TO [usmgroup]
GRANT INSERT ON [dbo].[usm_request_pending_act_hist] TO [usmgroup]
GRANT DELETE ON [dbo].[usm_request_pending_act_hist] TO [usmgroup]
GRANT UPDATE ON [dbo].[usm_request_pending_act_hist] TO [usmgroup]
GO