From ba5123068a0985c6495a7c97812a5e841b6dd733 Mon Sep 17 00:00:00 2001 From: David Hoppenbrouwers Date: Sun, 9 Oct 2022 13:49:16 +0200 Subject: [PATCH] Remove email --- schema.txt | 1 - test/init_db.txt | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/schema.txt b/schema.txt index 610147d..16fdf27 100644 --- a/schema.txt +++ b/schema.txt @@ -11,7 +11,6 @@ create table users ( user_id integer unique not null primary key autoincrement, name varchar(32) unique not null, password varchar(128) not null, - email varchar(254), about text not null default '', join_time integer not null, role integer not null default 0, diff --git a/test/init_db.txt b/test/init_db.txt index 94ad0c0..d46a34c 100644 --- a/test/init_db.txt +++ b/test/init_db.txt @@ -1,15 +1,13 @@ -insert into users (name, password, email, join_time) values ( +insert into users (name, password, join_time) values ( "foo", -- supasecret "$argon2id$v=19$m=65536,t=3,p=4$qBWCEAKgdA4BYOy915qzlg$KhGy3UF0QMlplt2eB7r7QNL2kDcggXUimRWUrWql8sI", - "foo@bar.baz", 0 ); -insert into users (name, password, email, join_time) values ( +insert into users (name, password, join_time) values ( "bar", -- abraca "$argon2id$v=19$m=65536,t=3,p=4$klJKCUFoDaF07j3nPCeEUA$lCphd5n1YIs8MaVop2vGNirwknkh91qJIZHMuBOlgWA", - "bar@foo.baz", 0 ); insert into users (name, password, join_time, role) values (