Actix-Demo/migrations/2020-05-02-115427_create_users/up.sql

8 lines
193 B
MySQL
Raw Normal View History

2020-05-06 13:25:54 +00:00
-- Your SQL goes here
CREATE TABLE users (
id INTEGER PRIMARY KEY NOT NULL ,
name VARCHAR NOT NULL,
password VARCHAR NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
2020-05-06 13:25:54 +00:00
)