You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
501 B

create table twitch_auth_data
(
id bigint auto_increment
primary key,
twitch_user_id bigint not null,
auth_code char(30) not null,
access_token char(30) not null,
refresh_token char(50) not null
);
create table twitch_oauth_states
(
id bigint auto_increment
primary key,
state char(64) not null,
valid_until datetime not null
);
create table twitch_follows
(
to_id bigint not null,
from_id bigint not null,
since datetime not null,
primary key (to_id, from_id)
);