mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 08:02:19 +00:00
93f58056a0
* feat: replace ephemeral tokens by jwt * fix: migration + sqlx * fix: tests, agent, ee ref * fix: sqlx * fix: tests * fix: jwt prefix change + fix tests * fix: nit * fix: handle agent mode
13 lines
394 B
SQL
13 lines
394 B
SQL
-- Add up migration script here
|
|
CREATE TABLE public.job_perms (
|
|
job_id uuid NOT NULL,
|
|
email varchar(255) NOT NULL,
|
|
username varchar(50) NOT NULL,
|
|
is_admin bool NOT NULL,
|
|
is_operator bool NOT NULL,
|
|
created_at timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
workspace_id varchar(50) NOT NULL,
|
|
groups _text NOT NULL,
|
|
folders _jsonb NOT NULL,
|
|
CONSTRAINT job_perms_pk PRIMARY KEY (job_id)
|
|
); |