1
0
mirror of https://github.com/actix/examples synced 2024-12-18 16:23:12 +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
);