Migrating Major Versions¶
v1 to v2¶
2.0.0 brings changes to the DB schema to allow generic storage of custom fields
on existing entities and generic storage of custom tables through the
ExtraFieldsMixin and ExtraTableRow classes.
This brought a slight change to the way LoadGTFS and
SaveGTFS tasks work.
Additionally, Stop.pkpplk_code, Stop.ibnr_code and StopTime.original_stop_id attributes
were removed.
To migrate:
Remove any
.dbfiles from workspace folders, this can be simply done by removing the entire workspace directory.Add
.txtsuffixes to headers provided to theSaveGTFStask.If using any of the removed fields, adjust code to use the generic
ExtraFieldsMixindictionary. Note that to load those fields from GTFS,LoadGTFS.extra_fieldsmust be set toTrue.
All else stays unchanged.