X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=db%2Fstatusnet.sql;h=ac48e6253a0274e0c67f27b6fffb52248d4a053c;hb=fb86e7c2857a467e9606cf7e024dda6807639c0c;hp=3f95948e1ed5ede5d9cde05511f78fb49f657021;hpb=503bc5376238d946457e344591542af0595736b2;p=quix0rs-gnu-social.git diff --git a/db/statusnet.sql b/db/statusnet.sql index 3f95948e1e..ac48e6253a 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -237,6 +237,15 @@ create table oauth_application_user ( constraint primary key (profile_id, application_id) ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; +create table oauth_token_association ( + 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), + token varchar(255) 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, token) +) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; + /* These are used by JanRain OpenID library */ create table oid_associations (