mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 11:17:46 +00:00
boat-listing, make last_contact retrun null rather than empty string
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user