ALTER TABLE [dbo].[T_EXTRA_UI_COMMAND] ADD [ExecutionType] int
GO
UPDATE [dbo].[T_EXTRA_UI_COMMAND] SET [ExecutionType]='0'
GO
ALTER TABLE [dbo].[T_EXTRA_UI_COMMAND] ALTER COLUMN [ExecutionType] int NOT NULL
GO



ALTER TABLE [dbo].[T_EXTRA_UI_COMMAND] ADD [RemoteCommandID] varchar(36)
GO



ALTER TABLE [dbo].[T_EXTRA_UI_COMMAND] ADD [Credentials] uniqueidentifier
GO
ALTER TABLE [dbo].[T_EXTRA_UI_COMMAND] WITH NOCHECK ADD CONSTRAINT [FK_T_CREDENTIALS_T_EXTRA_UI_COMMAND_Credentials] FOREIGN KEY ([Credentials]) REFERENCES [dbo].[T_CREDENTIALS] ([CredentialsID])
GO