Finally found a hacky way to bypass the limits of SugarORM when upgrading the database