Fix wrong foreign key constraing for post.module_id