You are here

function deploy_uuid_get_field_definition in Deploy - Content Staging 6

Return the field definition for a uuid field

It seems entirely likely that the uuid field def may change at some point so having a single place to modify it seems prudent

2 calls to deploy_uuid_get_field_definition()
deploy_uuid_schema in modules/deploy_uuid/deploy_uuid.install
deploy_uuid_update_6001 in modules/deploy_uuid/deploy_uuid.install

File

modules/deploy_uuid/deploy_uuid.install, line 128

Code

function deploy_uuid_get_field_definition() {
  return array(
    'type' => 'varchar',
    'length' => '32',
    'not null' => TRUE,
  );
}