1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/simple-auth-server/migrations/2018-10-09-101948_users/up.sql
2018-12-09 18:55:36 +03:00

7 lines
175 B
SQL

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