summaryrefslogtreecommitdiff
path: root/classes/Consumer.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-10 17:10:56 -0800
committerZach Copley <zach@status.net>2010-01-24 16:36:01 -0800
commitc0b832d19fc478d67752a6692bf71f178346e14a (patch)
tree69085c8334c0f77aa920b0f0a881dce13b73612c /classes/Consumer.php
parent60ce2ff3d01f22900d62b3d30ed89bc5e9d55167 (diff)
Add new OAuth application tables and DataObjects. Also add a new
column for consumer secret to consumer table.
Diffstat (limited to 'classes/Consumer.php')
-rw-r--r--classes/Consumer.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/Consumer.php b/classes/Consumer.php
index d5b7b7e33..d17f183a8 100644
--- a/classes/Consumer.php
+++ b/classes/Consumer.php
@@ -11,9 +11,10 @@ class Consumer extends Memcached_DataObject
public $__table = 'consumer'; // table name
public $consumer_key; // varchar(255) primary_key not_null
+ public $consumer_secret; // varchar(255) not_null
public $seed; // char(32) not_null
- public $created; // datetime() not_null
- public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
+ public $created; // datetime not_null
+ public $modified; // timestamp not_null default_CURRENT_TIMESTAMP
/* Static get */
function staticGet($k,$v=null)