DUVar 6.x-1.x-dev
Drupal User Variables
duvar.schema
Go to the documentation of this file.
00001 <?php
00002 // $Id$
00016 function duvar_schema_0() {
00020   $schema['duvariables'] = array(
00021     'description' => 'User specific variables storage.'
00022     'fields' => array(
00023       'uid' => array(
00024         'type' => 'int',
00025         'size' => 'big',
00026         'unsigned' => TRUE,
00027         'not null' => TRUE,
00028       ),
00029       'name' => array(
00030         'type' => 'char',
00031         'length' => 32,
00032         'not null' => TRUE,
00033       ),
00034       'value' => array(
00035         'type' => 'blob',
00036       ),
00037     ),
00038     'primary_key' => array('uid', 'name'),
00039   );
00040   return $schema;
00041 }
All Files Functions