summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-13 16:02:09 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-13 16:02:09 -0500
commit69a1cea319f22362d197cb8a0fc9ab19abdf8548 (patch)
treeb231c9c9e5ecf36e469b2539c6c20126ef5c97fb /classes
parent158d6ba1f44b70c189363a0f6e33f2d08fb74abe (diff)
add inboxed and regenerate data objects
darcs-hash:20081113210209-84dde-56052bac5ce490d54f3220baaa13f5bfc0e7618d.gz
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice_inbox.php2
-rw-r--r--classes/User.php3
-rw-r--r--classes/laconica.ini5
3 files changed, 6 insertions, 4 deletions
diff --git a/classes/Notice_inbox.php b/classes/Notice_inbox.php
index cc482bd19..93b1f113d 100644
--- a/classes/Notice_inbox.php
+++ b/classes/Notice_inbox.php
@@ -29,8 +29,8 @@ class Notice_inbox extends Memcached_DataObject
public $__table = 'notice_inbox'; // table name
public $user_id; // int(4) primary_key not_null
public $notice_id; // int(4) primary_key not_null
- public $created; // datetime() not_null
public $source; // tinyint(1) default_1
+ public $created; // datetime() not_null
/* Static get */
function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Notice_inbox',$k,$v); }
diff --git a/classes/User.php b/classes/User.php
index e3fa93395..e4a8663c3 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -55,9 +55,10 @@ class User extends Memcached_DataObject
public $smsemail; // varchar(255)
public $uri; // varchar(255) unique_key
public $autosubscribe; // tinyint(1)
- public $urlshorteningservice; // varchar(50)
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
+ public $inboxed; // tinyint(1)
+ public $urlshorteningservice; // varchar(50) default_ur1.ca
/* Static get */
function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('User',$k,$v); }
diff --git a/classes/laconica.ini b/classes/laconica.ini
index aa0225739..f6b8e5615 100644
--- a/classes/laconica.ini
+++ b/classes/laconica.ini
@@ -155,8 +155,8 @@ id = N
[notice_inbox]
user_id = 129
notice_id = 129
-created = 142
source = 17
+created = 142
[notice_inbox__keys]
user_id = K
@@ -295,9 +295,10 @@ smsreplies = 17
smsemail = 2
uri = 2
autosubscribe = 17
-urlshorteningservice = 2
created = 142
modified = 384
+inboxed = 17
+urlshorteningservice = 2
[user__keys]
id = K