diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-22 14:41:09 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-22 14:41:09 -0400 |
commit | 7979176e14444af7b88f6a7afeae571d6a644d17 (patch) | |
tree | 7c6210db54d137ba7ac9cf45e377e702b66f83fa /classes/Notice.php | |
parent | aa34949520b7d37e1ce6168ba4c7350d3db79476 (diff) |
generate classes for db schema with URIs
darcs-hash:20080522184109-84dde-0d13fc6890f85613554f5dd64b1baa67bbcaa8f6.gz
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index de3477c76..24a719104 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -24,7 +24,7 @@ if (!defined('LACONICA')) { exit(1); } */ require_once 'DB/DataObject.php'; -class Notice extends DB_DataObject +class Notice extends DB_DataObject { ###START_AUTOCODE /* the code below is auto generated do not remove the above tag */ @@ -32,8 +32,9 @@ class Notice extends DB_DataObject public $__table = 'notice'; // table name public $id; // int(4) primary_key not_null public $profile_id; // int(4) not_null - public $content; // varchar(140) - public $url; // varchar(255) + public $uri; // varchar(255) unique_key + public $content; // varchar(140) + public $url; // varchar(255) public $created; // datetime() not_null public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP |