website/migrations/2024-03-25-183335_users/up.sql

9 lines
221 B
SQL

-- Your SQL goes here
CREATE TABLE IF NOT EXISTS Users (
id UUID NOT NULL UNIQUE,
email TEXT NOT NULL,
username TEXT NOT NULL,
pw_hash TEXT NOT NULL,
permissions BIGINT NOT NULL,
PRIMARY KEY (id)
)