gitpad/database/db-sqlx-postgres/migrations/20220213111215_gists_users.sql

9 lines
260 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS gists_users (
username VARCHAR(100) NOT NULL UNIQUE,
email VARCHAR(100) UNIQUE DEFAULT NULL,
email_verified BOOLEAN DEFAULT NULL,
secret varchar(50) NOT NULL UNIQUE,
password TEXT NOT NULL,
ID SERIAL PRIMARY KEY NOT NULL
);