X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=db%2Fstatusnet.sql;h=5426ace92b556fed1b28a59f41b769b8d7e3b348;hb=b26eccf33cf69c04a96d5d6d3eddc0ef68ffd4b1;hp=a0c497fff5ccb89bb59074a33dd2c1f59306bc22;hpb=aa02f6020e16f722d5194ad97e66a57ab1d8c29c;p=quix0rs-gnu-social.git diff --git a/db/statusnet.sql b/db/statusnet.sql index a0c497fff5..5426ace92b 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -232,6 +232,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 (