c46df07 upgrade-sql: fix backward compatibility

Authored and Committed by julian8628 3 years ago
    upgrade-sql: fix backward compatibility