summaryrefslogtreecommitdiff
path: root/db/statusnet.sql
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-10 23:03:30 -0800
committerZach Copley <zach@status.net>2010-01-14 02:41:05 +0000
commite7f4ab677480f0fa39db5199de5f77821ba4a60d (patch)
tree465e178ef7b6a6b1cd1bbe8399370ac4c322853a /db/statusnet.sql
parentaba299c5d1b5aa466040401eb271482fab87995e (diff)
Associate request tokens with OAuth apps and app users
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r--db/statusnet.sql5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql
index fb36adac8..f9f8e9a87 100644
--- a/db/statusnet.sql
+++ b/db/statusnet.sql
@@ -229,8 +229,11 @@ 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, bit 3 = revoked',
+ token varchar(255) comment 'authorization token',
+ secret varchar(255) comment 'token secret',
+ verifier varchar(255) not null comment 'verification code',
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)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;