Fixed missing foreign key in module embeds table and extra description column in templates in install sql.