Since it is a migration code, should it be only run when an upgrade happens?