Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

329 B
Raw Blame
CREATE OR REPLACE VIEW v_tenants AS
SELECT id AS tenant_id,
       'tenant_' || id AS entity_qualified_id,
       name,
       slug,
       is_active,
       attributes,
       created_at,
       updated_at,
       tenant_collection_id,
       'collection_' || tenant_collection_id AS tenant_collection_qualified_id
FROM tenant;