sso-core/migrations/0005_happy_meltdown.sql

10 lines
311 B
MySQL
Raw Normal View History

2024-12-09 17:17:02 +00:00
CREATE TABLE `jwks` (
`uuid` varchar(36) NOT NULL,
`fingerprint` varchar(64) NOT NULL,
`current` tinyint NOT NULL DEFAULT 1,
`created_at` datetime(6) NOT NULL DEFAULT current_timestamp(6),
`expires_at` datetime(6) NOT NULL,
`rotate_at` datetime(6) NOT NULL,
CONSTRAINT `jwks_uuid` PRIMARY KEY(`uuid`)
);