Table "z8z6px927zu6qzzbnb5ntgghxg.access_tokens" Column | Type | Modifiers ------------------+-----------------------------+------------------------------------------------------------------------ id | bigint | not null default nextval('access_tokens_id_seq'::regclass) token | character(16) | not null access_id | bigint | not null refresh_token_id | bigint | issued | timestamp without time zone | not null default timezone('UTC'::text, now()) expiry | timestamp without time zone | not null default (timezone('UTC'::text, now()) + '01:00:00'::interval) refresh_secret | character varying(64) | Indexes: "access_tokens_pkey" PRIMARY KEY, btree (id) "access_tokens_token_key" UNIQUE CONSTRAINT, btree (token) "access_tokens_access_id_idx" btree (access_id) "access_tokens_refresh_to_idx" btree (refresh_token_id) Foreign-key constraints: "access_tokens_access_id_fkey" FOREIGN KEY (access_id) REFERENCES access_grants(id) ON DELETE CASCADE "access_tokens_refresh_token_id_fkey" FOREIGN KEY (refresh_token_id) REFERENCES refresh_tokens(id) ON DELETE CASCADE