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-14 02:41:04 +0000
commit14bcac31b87e05d176235111a8ad316927317118 (patch)
tree4fcb5ca332b2c7f6899bb17eb4116573fff95ae1 /classes/Consumer.php
parentaa23698553b9eeed1397a8c9144b14ca16ca53a4 (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)