atuin/migrations/2021-03-21-181750_create_sessions/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
132 B
SQL

-- Your SQL goes here
create table sessions (
id bigserial primary key,
user_id bigserial,
token varchar(128) unique not null
);