You are here

function domain_conf_schema in Domain Access 6.2

Same name and namespace in other branches
  1. 7.3 domain_conf/domain_conf.install \domain_conf_schema()
  2. 7.2 domain_conf/domain_conf.install \domain_conf_schema()

Implement hook_schema()

File

domain_conf/domain_conf.install, line 18
Install file.

Code

function domain_conf_schema() {
  $schema['domain_conf'] = array(
    'fields' => array(
      'domain_id' => array(
        'type' => 'int',
        'not null' => TRUE,
        'default' => 0,
      ),
      'settings' => array(
        'type' => 'blob',
        'not null' => FALSE,
      ),
    ),
    'primary key' => array(
      'domain_id',
    ),
  );
  return $schema;
}