website/migrations/20240330145459_users.up.sql

9 lines
231 B
MySQL
Raw Normal View History

2024-03-30 15:06:34 +00:00
-- Add up migration script 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)
)