CREATE TABLE [dbo].[acc_cl_bordereaux_companies]
(
[clbcie_bordereau_id] [int] NOT NULL,
[clbcie_company_id] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[acc_cl_bordereaux_companies] ADD CONSTRAINT [PK_acc_cl_bordereaux_companies] PRIMARY KEY CLUSTERED  ([clbcie_bordereau_id], [clbcie_company_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[acc_cl_bordereaux_companies] ADD CONSTRAINT [FK_acc_cl_bordereaux_companies_acc_cl_bordereaux] FOREIGN KEY ([clbcie_bordereau_id]) REFERENCES [dbo].[acc_cl_bordereaux] ([clb_bordereau_id])
GO
ALTER TABLE [dbo].[acc_cl_bordereaux_companies] ADD CONSTRAINT [FK_acc_cl_bordereaux_companies_act_cies] FOREIGN KEY ([clbcie_company_id]) REFERENCES [dbo].[act_cies] ([cie_actor_id])
GO
