CREATE TABLE [dbo].[act_actors_addresses]
(
[adra_actor_id] [int] NOT NULL,
[adra_address_id] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[act_actors_addresses] ADD CONSTRAINT [PK_act_actors_addresses] PRIMARY KEY CLUSTERED  ([adra_actor_id], [adra_address_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[act_actors_addresses] ADD CONSTRAINT [FK_act_actors_addresses_act_actors] FOREIGN KEY ([adra_actor_id]) REFERENCES [dbo].[act_actors] ([act_actor_id]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[act_actors_addresses] ADD CONSTRAINT [FK_act_actors_addresses_adr_addresses] FOREIGN KEY ([adra_address_id]) REFERENCES [dbo].[adr_addresses] ([adr_address_id]) ON DELETE CASCADE
GO
