CREATE TABLE [dbo].[process_user]
(
	[proc_user_id] INT NOT NULL  IDENTITY, 
    [user_id] UNIQUEIDENTIFIER NOT NULL, 
    [proc_type_id] INT NOT NULL, 
    [proc_user_status] NVARCHAR(10) NOT NULL DEFAULT 'WIP', 
    [proc_user_start_dt] DATETIME2 NOT NULL DEFAULT GETDATE(), 
    [proc_entity_key] NVARCHAR(50) NULL, 
    [proc_entity_type] NVARCHAR(50) NULL, 
    CONSTRAINT [PK_process_user] PRIMARY KEY ([proc_user_id]), 
    CONSTRAINT [FK_process_user_to_process_type] FOREIGN KEY ([proc_type_id]) REFERENCES [process_type]([proc_type_id])
)
