SQL Databases from before 2.3.16
John Ralls
jralls at ceridwen.us
Wed Dec 8 09:58:10 EST 2010
On Dec 8, 2010, at 6:36 AM, Phil Longstaff wrote:
> Support for this already exists. There's a "versions" table which has
> table-name/table-version pairs. This is loaded automatically when the file is
> opened. The backend code for each object type contains a "create tables"
> routine which is called to create and/or update tables for that object type. At
> this time, if the table version is not current, it can be updated. There is
> already some code for various object types which have handled some upgrades
> through the 2.3.X series.
>
That addresses changes to the schema (that is, how many columns are in a table, what their names and types are, which ones are keys, etc.) but not changes to how the rows are saved and retrieved in the backend. The changes I made in r19729 and r19911 were in the latter category.
Regards,
John Ralls
More information about the gnucash-devel
mailing list