CRM-20927 - civicrm_menu - Add generic column for other data
authorTim Otten <totten@civicrm.org>
Thu, 20 Jul 2017 02:16:10 +0000 (19:16 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 4 Aug 2017 00:13:04 +0000 (17:13 -0700)
commitb44dc91e7e9c48b83bb381fd94129a644bfc77c3
tree78572f3b192a6b72fe8e1b9d2df37e3a5b3fe561
parent585d28ca998bc1f30a9c3124df2883190ce35214
CRM-20927 - civicrm_menu - Add generic column for other data

Background
==========

We need a place to store per-page information about IDS configuration.

More generally, as we continue adding features through extensions, we should
anticipate that the route metadata will expand in ways that we can't
anticipate.  Adding a general-purpose serialized field will help us define
new behaviors through extensions.

Before
======

All metadata in the routing table (`civicrm_menu`) had to stored in a
separate SQL column.

After
=====

Any unrecognized fields will be stored and loaded from the column
`module_data`.
CRM/Core/DAO/Menu.php
CRM/Core/Menu.php
CRM/Upgrade/Incremental/sql/4.7.25.mysql.tpl
xml/schema/Core/Menu.xml