[odb-users] SQLite data migration null pointer

Boris Kolpackov boris at codesynthesis.com
Wed Jan 18 06:03:04 EST 2017


Hi Alexander,

Alexander Igorevich <alejandro_pnz at icloud.com> writes:

> #pragma db model version(2, 2, open)

As I have already explained in our previous conversation, this does
not make sense. You are saying that you can only migrate from version
2 and your latest version is also 2. So no migration code should run
for this build of our application, by definition.

Please read the manual on the semantics of the version pragma.

Boris



More information about the odb-users mailing list