mirror of
https://github.com/atuinsh/atuin.git
synced 2025-07-12 07:35:08 +00:00

* add verified column to users table * add database functions to check if verified, or to verify * getting there * verification check * use base64 urlsafe no pad * add verification client * clippy * correct docs * fix integration tests
8 lines
245 B
SQL
8 lines
245 B
SQL
alter table users add verified_at timestamp with time zone default null;
|
|
|
|
create table user_verification_token(
|
|
id bigserial primary key,
|
|
user_id bigint unique references users(id),
|
|
token text,
|
|
valid_until timestamp with time zone
|
|
);
|