Changing note/card id (e.g. creation time)

Hello! I wanted to use your add-on so I forked it, but I just updated Qt5 so I don’t know how to solve that problem.(I’m not good with databases.)
This may have something to do with that.
Add-on porting notes for Anki 2.1.45 : Undo/Redo