make sure tables get rebuild during migration
Merge pull request #1620 from marcel-blonk/PLFM-3077

make sure tables get rebuild during migration