atuin/migrations/2021-03-20-171007_create_users/up.sql
Ellie Huxtable c9579cb9ca
Implement server (#23)
* Add initial database and server setup

* Set up all routes, auth, etc

* Implement sessions, password auth, hashing with argon2, and history storage
2021-03-21 20:04:39 +00:00

6 lines
233 B
SQL

-- Your SQL goes here
create table users (
id bigserial primary key, -- also store our own ID
email varchar(128) not null unique, -- being able to contact users is useful
password varchar(128) not null unique
);