added a migration
deleted the useless setSlug into doctrinePost