--- /dev/null
+<?php
+/**
+ * Table Definition for remember_me
+ */
+require_once 'DB/DataObject.php';
+
+class Remember_me extends DB_DataObject
+{
+ ###START_AUTOCODE
+ /* the code below is auto generated do not remove the above tag */
+
+ public $__table = 'remember_me'; // table name
+ public $code; // varchar(32) primary_key not_null
+ public $user_id; // int(4) not_null
+ public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
+
+ /* Static get */
+ function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Remember_me',$k,$v); }
+
+ /* the code above is auto generated do not remove the tag below */
+ ###END_AUTOCODE
+}
address_type varchar(8) not null comment 'address type ("email", "jabber", "sms")',
modified timestamp comment 'date this record was modified'
) ENGINE=InnoDB;
+
+create table remember_me (
+ code varchar(32) not null primary key comment 'good random code',
+ user_id integer not null comment 'user who is logged in' references user (id),
+ modified timestamp comment 'date this record was modified'
+) ENGINE=InnoDB;