MetaModel use SQLite trigger to delete corresponding association when model is deleted from database. But we need to manager trigger independently:
- Create a separate table in database to save
trigger_name and hash_value
- Use trigger to implement most of the association issues