hotel/migrations/2023-03-26-024321_create_users/up.sql

6 lines
177 B
MySQL
Raw Permalink Normal View History

2023-03-26 13:32:23 +00:00
CREATE TABLE users (
id SERIAL NOT NULL PRIMARY KEY,
name VARCHAR(128) NOT NULL UNIQUE,
2023-03-26 15:08:06 +00:00
discord_id BIGINT NOT NULL UNIQUE,
password_hash VARCHAR(256) NOT NULL
2023-03-26 13:32:23 +00:00
);