1
0
mirror of https://github.com/actix/examples synced 2024-11-28 08:22:39 +01:00
examples/database_interactions/simple-auth-server/migrations/2018-10-09-101948_users/up.sql
2021-02-26 00:57:58 +00:00

7 lines
171 B
SQL

-- Your SQL goes here
CREATE TABLE users (
email VARCHAR(100) NOT NULL UNIQUE PRIMARY KEY,
hash VARCHAR(122) NOT NULL, --argon hash
created_at TIMESTAMP NOT NULL
);