Add module_id for post
Add on delete trigger for all foreign keys
Add module support for API
Allow module_id to be null, for answers