Skip to content

Commit eafdecf

Browse files
committed
Update create_oidc_user_and_views.sql
1 parent a127262 commit eafdecf

1 file changed

Lines changed: 19 additions & 27 deletions

File tree

obp-api/src/main/scripts/sql/create_oidc_user_and_views.sql

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -224,33 +224,25 @@ DROP VIEW IF EXISTS v_oidc_admin_clients CASCADE;
224224
-- Create a view that exposes all consumer fields for full CRUD operations
225225
CREATE VIEW v_oidc_admin_clients AS
226226
SELECT
227-
id,
228-
COALESCE(consumerid, id::varchar) as consumer_id,
229-
key,
230-
secret,
231-
azp,
232-
aud,
233-
iss,
234-
sub,
235-
isactive,
236-
name,
237-
apptype,
238-
description,
239-
developeremail,
240-
redirecturl,
241-
logourl,
242-
userauthenticationurl,
243-
createdbyuserid,
244-
persecondcalllimit,
245-
perminutecalllimit,
246-
perhourcalllimit,
247-
perdaycalllimit,
248-
perweekcalllimit,
249-
permonthcalllimit,
250-
clientcertificate,
251-
company,
252-
createdat,
253-
updatedat
227+
name
228+
,apptype
229+
,description
230+
,developeremail
231+
,sub
232+
,consumerid
233+
,createdat
234+
,updatedat
235+
,secret
236+
,azp
237+
,aud
238+
,iss
239+
,redirecturl
240+
,logourl
241+
,userauthenticationurl
242+
,clientcertificate
243+
,company
244+
,key_c
245+
,isactive
254246
FROM consumer
255247
ORDER BY name;
256248

0 commit comments

Comments
 (0)