website/migrations/20240330145503_tokens.up.sql

7 lines
186 B
MySQL
Raw Normal View History

2024-03-30 15:06:34 +00:00
-- Add up migration script here
CREATE TABLE IF NOT EXISTS tokens (
2024-03-30 00:52:46 +00:00
token TEXT NOT NULL UNIQUE,
owner_id UUID NOT NULL,
permissions BIGINT NOT NULL,
PRIMARY KEY (token)
2024-03-30 15:06:34 +00:00
)