Added migration for plan frequency, and updated corresponding views