function panelizer_update_7103 in Panelizer 7.2
Same name and namespace in other branches
- 7.3 panelizer.install \panelizer_update_7103()
Set primary keys to NOT NULL.
File
- ./
panelizer.install, line 305 - Install, update and uninstall functions for the panelizer module.
Code
function panelizer_update_7103() {
$schema = panelizer_schema_1();
db_change_field('panelizer_entity', 'entity_type', 'entity_type', $schema['panelizer_entity']['fields']['entity_type']);
db_change_field('panelizer_entity', 'revision_id', 'revision_id', $schema['panelizer_entity']['fields']['revision_id']);
db_change_field('panelizer_defaults', 'pnid', 'pnid', $schema['panelizer_defaults']['fields']['pnid']);
}