Fix errors in plugins migrations
Merge pull request #2038 from yakky/feature/fix_migrations_24

Fix errors in plugins migrations