v1.0.4 database with ondelete, onupdate cascade