summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-22 14:41:09 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-22 14:41:09 -0400
commit7979176e14444af7b88f6a7afeae571d6a644d17 (patch)
tree7c6210db54d137ba7ac9cf45e377e702b66f83fa /classes/User.php
parentaa34949520b7d37e1ce6168ba4c7350d3db79476 (diff)
generate classes for db schema with URIs
darcs-hash:20080522184109-84dde-0d13fc6890f85613554f5dd64b1baa67bbcaa8f6.gz
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/User.php b/classes/User.php
index 41441a21d..d750c7847 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -24,7 +24,7 @@ if (!defined('LACONICA')) { exit(1); }
require_once 'DB/DataObject.php';
require_once 'Validate.php';
-class User extends DB_DataObject
+class User extends DB_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
@@ -32,8 +32,9 @@ class User extends DB_DataObject
public $__table = 'user'; // table name
public $id; // int(4) primary_key not_null
public $nickname; // varchar(64) unique_key
- public $password; // varchar(255)
+ public $password; // varchar(255)
public $email; // varchar(255) unique_key
+ public $uri; // varchar(255) unique_key
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP