Upgrade the Navigation module
Edit on GitHubUpgrading from version 1.* to version 2.*
Version 2 adds validity date fields to navigation nodes to support NavigationGui module to control the temporal visibility of nodes.
- Update the
Navigationmodule to at least version 2.0.0 in yourcomposer.json. - Install the new database fields by running
vendor/bin/console propel:diff. Propel should generate a migration file with the changes. - Apply the database changes:
run vendor/bin/console propel:migrate. - Generate ORM models:
run vendor/bin/console propel:model:build. - Run
vendor/bin/console transfer:generateto generate the new fields into theNavigationtransfer object.
As a result:
valid_fromandvalid_tofields are added tospy_navigation_nodetable.- Corresponding properties, getters, and setters are added to
Navigationtransfer object.
Thank you!
For submitting the form