boat-listing, make last_contact retrun null rather than empty string

This commit is contained in:
xbgmsharp
2023-02-07 11:19:30 +01:00
parent d745048a9c
commit ca92a15eba

View File

@@ -22,7 +22,7 @@ CREATE OR REPLACE VIEW api.vessels_view AS
FROM api.metadata m
WHERE m.vessel_id = current_setting('vessel.id')
)::TEXT ,
''::TEXT ) as last_contact
NULL ) as last_contact
)
SELECT
v.name as name,