public function update($oldVersion) {
        switch ($oldVersion) {
            case '1.0.0':
            case '1.0.1':
                break;
            default:
                return false;
        }
        return true;
    }

Found in a Shopware Plugin

By Procinger, 2020-02-14 14:08:36