This repository has been archived on 2025-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
miniauthold/pkg/oauthapi/migrations/1742764325_init.up.sql
kekskurse 92704e80f1
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/playwright Pipeline was successful
ci/woodpecker/push/deplyoment Pipeline was successful
fix: go mod oauth test
2025-05-25 20:49:24 +02:00

12 lines
386 B
SQL

-- Write your up sql migration here
CREATE TABLE clients (
id INTEGER PRIMARY KEY AUTOINCREMENT,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP,
client_id TEXT NOT NULL UNIQUE,
client_secret TEXT NOT NULL UNIQUE,
redirect_uris TEXT NOT NULL,
response_types TEXT NOT NULL,
grant_types TEXT NOT NULL,
scopes TEXT NOT NULL
)