CREATE TABLE public.oauth_access_tokens ( id varchar(100) NOT NULL, user_id int8 NULL, client_id uuid NOT NULL, "name" varchar(255) NULL, scopes text NULL, revoked bool NOT NULL, created_at timestamp NULL, updated_at timestamp NULL, expires_at timestamp NULL, CONSTRAINT oauth_access_tokens_pkey PRIMARY KEY (id) ); CREATE INDEX oauth_access_tokens_user_id_index ON public.oauth_access_tokens USING btree (user_id);