1
0
mirror of https://github.com/actix/examples synced 2024-12-19 00:33:12 +01:00
examples/simple-auth-server/migrations/2018-10-09-101948_users/up.sql

7 lines
175 B
MySQL
Raw Normal View History

-- 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
);