diff options
author | Zach Copley <zach@status.net> | 2010-10-19 21:01:53 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-19 21:01:53 -0700 |
commit | 5ca29ab0de22b5d8167af5adb320d6acdda807b7 (patch) | |
tree | c73aae0a1c9fe600dd38294d5e5e148c94252d1b /db | |
parent | d464ebfc12e34c8742a80622e8aace46f4a963ae (diff) | |
parent | e8b6d7c946da5fb2ce5397bccfd332de8ca1f9dd (diff) |
Merge branch 'anon-consumer' into 0.9.x
Diffstat (limited to 'db')
-rw-r--r-- | db/statusnet.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql index 3f95948e1..4ae7e5684 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -231,10 +231,10 @@ create table oauth_application_user ( profile_id integer not null comment 'user of the application' references profile (id), application_id integer not null comment 'id of the application' references oauth_application (id), access_type tinyint default 0 comment 'access type, bit 1 = read, bit 2 = write', - token varchar(255) comment 'request or access token', + token varchar(255) not null comment 'request or access token', created datetime not null comment 'date this record was created', modified timestamp comment 'date this record was modified', - constraint primary key (profile_id, application_id) + constraint primary key (profile_id, application_id, token) ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; /* These are used by JanRain OpenID library */ |