[odb-users] Adding columns on-demand in SQLITE with odb?

Boris Kolpackov boris at codesynthesis.com
Thu Jul 11 06:53:06 EDT 2013


Hi Rafal,

Rafal Gm <grasmanek94 at gmail.com> writes:

> I have a server for players in which they can kill each other etc, so
> statistics are saved. But suppose I want to add another variable for
> statistics, how would I accomplish this without removing ALL user data? I
> don't need it right now but for future expansion I need to be prepared and
> I can't really find anything about this subject.

What you are looking for is schema evolution support and it is coming
in the next release (out in a month or so). You will then be able to
add a new data member to your class and ODB will generate necessary
database migration SQL for you.

Boris




More information about the odb-users mailing list