Nexus to Omega: Upgrade MyVideos database from 121 to 131 fails



I updated my Ubuntu install of Kodi from Nexus v20 to Omega v21.0.0. The upgrade of the videodatabase from v121 to v131 fails with the following error:

Code:
2024-04-08 15:21:28.740 T:2455013   error <general>: SQL: [MyVideos131] Undefined MySQL error: Code (1062)
                                                   Query: INSERT INTO videoversion SELECT idFile, idMovie, 'movie', '0', '40400' FROM movie

I have a rather large video library, but that should not matter I would say. Debug log can be found here:
https://pastebin.com/y5GukrJr

Any ideas?