website/migrations/tokens/up.sql

8 lines
156 B
SQL

CREATE TABLE IF NOT EXISTS Tokens (
token TEXT NOT NULL UNIQUE,
owner_id UUID NOT NULL,
permissions BIGINT NOT NULL,
PRIMARY KEY (token)
)