
--Migration_RCCP_20220817_160959.txt
ALTER TABLE [dbo].[Rules] ADD [CompanyId] [bigint] NOT NULL DEFAULT 0
CREATE INDEX [IX_CompanyId] ON [dbo].[Rules]([CompanyId])
ALTER TABLE [dbo].[Rules] ADD CONSTRAINT [FK_dbo.Rules_dbo.Companies_CompanyId] FOREIGN KEY ([CompanyId]) REFERENCES [dbo].[Companies] ([ID]) ON DELETE CASCADE

--Migration_RCCP_20220817_162414.txt
ALTER TABLE [dbo].[Rules] ADD [CompanyId] [bigint] NOT NULL DEFAULT 0
CREATE INDEX [IX_CompanyId] ON [dbo].[Rules]([CompanyId])
ALTER TABLE [dbo].[Rules] ADD CONSTRAINT [FK_dbo.Rules_dbo.Companies_CompanyId] FOREIGN KEY ([CompanyId]) REFERENCES [dbo].[Companies] ([ID]) ON DELETE CASCADE

--Migration_RCCP_20220817_163455.txt
ALTER TABLE [dbo].[Rules] ADD [CompanyId] [bigint] NOT NULL DEFAULT 0
