[odb-users] Data migration in SQLite
Boris Kolpackov
boris at codesynthesis.com
Tue Dec 13 09:34:46 EST 2016
Hi Alexander,
Alexander Igorevich <alejandro_pnz at icloud.com> writes:
> #pragma db model version(2, 2, open)
>
> #pragma db model version(1, 1, closed)
This means no migration is possible from version 1 to 2 which means
you should end up here:
> if (v < bv)
> {
> // Error: migration from this version is no longer supported.
> }
Did you actually run it under the debugger to examine the control
flow?
Boris
More information about the odb-users
mailing list