minor change in model
This commit is contained in:
parent
97e9f0cf76
commit
9a6490e7fd
1 changed files with 3 additions and 1 deletions
|
|
@ -51,7 +51,9 @@ with
|
|||
as checkin_at_utc,
|
||||
({{ adapter.quote("documents") }} ->> 'CheckOut')::timestamp
|
||||
as checkout_at_utc,
|
||||
({{ adapter.quote("documents") }} ->> 'Cancelled')::boolean as is_cancelled,
|
||||
coalesce(
|
||||
({{ adapter.quote("documents") }} ->> 'Cancelled')::boolean, false
|
||||
) as is_cancelled,
|
||||
({{ adapter.quote("documents") }} ->> 'CancellationDate')::timestamp
|
||||
as cancelled_at_utc,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue