Add new OAuth application tables and DataObjects. Also add a new

column for consumer secret to consumer table.
This commit is contained in:
Zach Copley
2009-11-10 17:10:56 -08:00
parent 60ce2ff3d0
commit c0b832d19f
4 changed files with 86 additions and 2 deletions

View File

@@ -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)