mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-29 03:34:44 +01:00
67d64ec4b3
* 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
9 lines
245 B
SQL
9 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
|
|
);
|