Migration only runs when theme is switched.