3 * Table Definition for remember_me
5 require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
7 class Remember_me extends Managed_DataObject
10 /* the code below is auto generated do not remove the above tag */
12 public $__table = 'remember_me'; // table name
13 public $code; // varchar(32) primary_key not_null
14 public $user_id; // int(4) not_null
15 public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
18 function staticGet($k,$v=null)
20 return Memcached_DataObject::staticGet('Remember_me',$k,$v);
23 /* the code above is auto generated do not remove the tag below */
26 public static function schemaDef()
30 'code' => array('type' => 'varchar', 'length' => 32, 'not null' => true, 'description' => 'good random code'),
31 'user_id' => array('type' => 'int', 'not null' => true, 'description' => 'user who is logged in'),
32 'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
34 'primary key' => array('code'),
35 'foreign keys' => array(
36 'remember_me_user_id_fkey' => array('user', array('user_id' => 'id')),