Add migrations for badges and badge_sets (fixed #1).