Revert DB change for OAuth. Change compound key for oauth_application_user

back to (profile_id, application_id). I think we can get away without
a DB change by only issuing one anonymous access token per user.
This commit is contained in:
Zach Copley
2010-10-20 11:41:04 -07:00
parent 2760ef07f5
commit 3d6a0f730d
3 changed files with 4 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ class Oauth_application_user extends Memcached_DataObject
public $profile_id; // int(4) primary_key not_null
public $application_id; // int(4) primary_key not_null
public $access_type; // tinyint(1)
public $token; // varchar(255) primary_key not_null
public $token; // varchar(255)
public $created; // datetime not_null
public $modified; // timestamp not_null default_CURRENT_TIMESTAMP