Add foreign key indexes and on_delete cascade