You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
697 B
SQL
21 lines
697 B
SQL
create table personal_access_tokens
|
|
(
|
|
id bigint unsigned auto_increment
|
|
primary key,
|
|
tokenable_type varchar(255) not null,
|
|
tokenable_id bigint unsigned not null,
|
|
name varchar(255) not null,
|
|
token varchar(64) not null,
|
|
abilities text null,
|
|
last_used_at timestamp null,
|
|
created_at timestamp null,
|
|
updated_at timestamp null,
|
|
constraint personal_access_tokens_token_unique
|
|
unique (token)
|
|
)
|
|
collate = utf8mb4_unicode_ci;
|
|
|
|
create index personal_access_tokens_tokenable_type_tokenable_id_index
|
|
on personal_access_tokens (tokenable_type, tokenable_id);
|
|
|