Fix errors in plugins migrations
Merge pull request #2037 from yakky/feature/fix_migrations

Fix errors in plugins migrations