This is a good solution. The best part is on the SQL side – fine tuning to any level is easy.
I used MySql and MySql Workbench to Cascade on delete for the Required Foreign KEY.
ALTER TABLE schema.joined_table
ADD CONSTRAINT UniqueKey
FOREIGN KEY (key2)
REFERENCES schema.table1 (id)
ON DELETE CASCADE;