mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-09 23:01:27 +00:00
16 lines
308 B
SQL
16 lines
308 B
SQL
create table Tokens
|
|
(
|
|
TokenId int,
|
|
UserId int not null,
|
|
UserToken text not null
|
|
);
|
|
|
|
create unique index Tokens_TokenId_uindex
|
|
on Tokens (TokenId);
|
|
|
|
alter table Tokens
|
|
add constraint Tokens_pk
|
|
primary key (TokenId);
|
|
|
|
alter table Tokens
|
|
modify TokenId int auto_increment;
|