[odb-users] Load old DB after adding new class data member

Justin Huang yohuang at nvidia.com
Tue Jan 5 06:59:44 EST 2021


I added a new boolean data member (with default value false) for a class, but I want to load a DB generated before adding this new data member.  I got '1: no such column' error when I tried to load old DB after updating the class.

Is there a way that ODB can load this old db? I tried the 'default value pragma' which did not work.


More information about the odb-users mailing list