summaryrefslogtreecommitdiff
path: root/classes/Avatar.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-19 09:40:57 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-19 09:40:57 -0400
commitc87951f89518e276a85f41eaecf34da0720f49c5 (patch)
tree1390c99a3340598efaee9bbf7f510a07e944a096 /classes/Avatar.php
parent18a363ba5a390b3b9d050748b492561737e26b52 (diff)
update avatar table
darcs-hash:20080519134057-84dde-d30a178de9e3e7d6ced21e9c395dfac545b3d343.gz
Diffstat (limited to 'classes/Avatar.php')
-rw-r--r--classes/Avatar.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/Avatar.php b/classes/Avatar.php
index 222725b48..2e0e1f3fb 100644
--- a/classes/Avatar.php
+++ b/classes/Avatar.php
@@ -11,10 +11,14 @@ class Avatar extends DB_DataObject
public $__table = 'avatar'; // table name
public $profile_id; // int(4) primary_key not_null
+ public $original; // tinyint(1)
public $width; // int(4) primary_key not_null
public $height; // int(4) primary_key not_null
- public $original; // tinyint(1)
public $mediatype; // varchar(32) not_null
+ public $filename; // varchar(255)
+ public $url; // varchar(255) unique_key
+ public $created; // datetime() not_null
+ public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
/* Static get */
function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Avatar',$k,$v); }