Upgrader/Base.php is very old and seems to be requiring a workaround for version handling
Came up during https://lab.civicrm.org/extensions/cdntaxreceipts/-/issues/74#note_41407 The Upgrader/Base.php seems based on an older version of civix. Two possible choices are: * Ignore it and keep on manually handling the version setting. * Look at bringing that base file up to date with a more current version of civix. I can't immediately see how much work that is but in particular the call in onInstall() to setCurrentVersion, which is causing the sql issue, isn't in the latest civix-generated file.
issue