]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
update avatar table
authorEvan Prodromou <evan@prodromou.name>
Mon, 19 May 2008 13:40:57 +0000 (09:40 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 19 May 2008 13:40:57 +0000 (09:40 -0400)
darcs-hash:20080519134057-84dde-d30a178de9e3e7d6ced21e9c395dfac545b3d343.gz

classes/Avatar.php
classes/stoica.ini

index 222725b484c81b4d9a288b0e3e259a3ed73bbdf6..2e0e1f3fb5ae2688e89833c6515d964d4d43e69e 100644 (file)
@@ -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); }
index 6c951fcb9e4969d16edeed3c3fcf491807f0d601..4d15225709fc0b4a2a81c6de1665e4718f7f128a 100644 (file)
@@ -1,15 +1,20 @@
 
 [avatar]
 profile_id = 129
+original = 17
 width = 129
 height = 129
-original = 17
 mediatype = 130
+filename = 2
+url = 2
+created = 142
+modified = 384
 
 [avatar__keys]
 profile_id = K
 width = K
 height = K
+url = U
 
 [notice]
 id = 129