gitpad/database/db-sqlx-sqlite/migrations/20220213111519_gists_users.sql

9 lines
269 B
SQL

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 VARCHAR(150) NOT NULL,
ID INTEGER PRIMARY KEY NOT NULL
);