Adding missing field in S&P models

This commit is contained in:
Joaquin Ossa 2024-12-11 16:35:40 +01:00
parent a564afea3c
commit 34a5b0d86e
6 changed files with 17 additions and 8 deletions

View file

@ -1381,7 +1381,7 @@ models:
- not_null
- name: json_document_user_data
data_type: character varying
data_type: jsonb
description: |
"The json document that contains the user information"

View file

@ -4,7 +4,7 @@ with
select
{{ adapter.quote("UserId") }} as id_apim_user,
{{ adapter.quote("ApimUserTypeId") }} as id_apim_user_type,
{{ adapter.quote("Json") }} as json_document_user_data,
{{ adapter.quote("Json") }}::jsonb as json_document_user_data,
{{ adapter.quote("CreatedDate") }} as created_at_utc,
cast({{ adapter.quote("CreatedDate") }} as date) as created_date_utc,
{{ adapter.quote("UpdatedDate") }} as updated_at_utc,