Semaphore/db/sql/migrations/v1.2.0.sql
2021-08-24 20:20:34 +05:00

9 lines
238 B
SQL

create table `user__token` (
`id` varchar(32) not null primary key,
`created` datetime not null,
`expired` boolean not null default false,
`user_id` int not null,
foreign key (`user_id`) references `user`(`id`) on delete cascade
);