added foreignkey on table and onDelete cascade