summaryrefslogtreecommitdiff
path: root/classes/Notice.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/Notice.php
parentaa34949520b7d37e1ce6168ba4c7350d3db79476 (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.php7
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