10 lines
311 B
SQL
10 lines
311 B
SQL
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`)
|
|
);
|