feat(views): list, add, stats
This commit is contained in:
@@ -3,12 +3,14 @@
|
||||
create table instances as select
|
||||
id as rowid
|
||||
, host as domain
|
||||
, config->'description' as slogan
|
||||
, config->'longDescription' as description
|
||||
, config->>'name' as name
|
||||
, '' as slogan
|
||||
, config->>'description' as description
|
||||
-- won't caputure long description, not used yet
|
||||
, languages
|
||||
, CASE WHEN config->'registrationsOpen' = 'true' THEN 1 ELSE 0 END as open
|
||||
, config->'version' as version
|
||||
, "connectivityStats"->'country' as location
|
||||
, config->>'version' as version
|
||||
, "connectivityStats"->>'country' as location
|
||||
, 0 as failure
|
||||
, CAST(extract(epoch from "createdAt") as integer) as "createdAt"
|
||||
, CAST(extract(epoch from "updatedAt") as integer) as "updatedAt"
|
||||
|
Reference in New Issue
Block a user