function _ggroup_parent_mid in Group 7
Schema API definition for the parent_mid column.
Helper function for reuse of this database column.
4 calls to _ggroup_parent_mid()
- ggroup_install in modules/
ggroup/ ggroup.install - Implements hook_install().
- ggroup_schema_alter in modules/
ggroup/ ggroup.module - Implements hook_schema_alter().
- ggroup_update_7002 in modules/
ggroup/ ggroup.install - Add the parent_mid column to {group_membership}.
- ggroup_update_7003 in modules/
ggroup/ ggroup.install - Remove default value from 'parent_mid'.
File
- modules/
ggroup/ ggroup.install, line 12 - Install, update and uninstall functions for the Subgroup project.
Code
function _ggroup_parent_mid() {
return array(
'description' => 'The id of the membership this membership was inherited from.',
'type' => 'int',
'unsigned' => TRUE,
);
}