/
wax_boy
/
semaphore_custom
Обзор
Документация
Войти
/
wax_boy
/
semaphore_custom
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
db/sql/migrations/v2.12.0.sql
12 строк
438 B
Denis Gukov
feat(totp): recovery code
04 янв 2025, 18:48
Не верифицирован
04 янв 2025, 18:48
77d7ab0
Код
Авторство
О чём код?
create table user__totp( `id` integer primary key autoincrement, `user_id` int NOT NULL, `url` varchar(250) NOT NULL, recovery_hash varchar(250) NOT NULL, `created` datetime NOT NULL, unique (`user_id`), foreign key (`user_id`) references `user`(`id`) on delete cascade ); alter table `session` add column verification_method int not null default 0; alter table `session` add column verified boolean not null default false;