summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Avatar.php6
-rw-r--r--classes/stoica.ini7
2 files changed, 11 insertions, 2 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); }
diff --git a/classes/stoica.ini b/classes/stoica.ini
index 6c951fcb9..4d1522570 100644
--- a/classes/stoica.ini
+++ b/classes/stoica.ini
@@ -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