cubes: - name: auth_code sql_table: inventory_v2.auth_code data_source: default joins: [] dimensions: - name: code sql: code type: string - name: device_id sql: device_id type: string - name: expires_at sql: expires_at type: time measures: - name: count type: count pre_aggregations: # Pre-aggregation definitions go here. # Learn more in the documentation: https://cube.dev/docs/caching/pre-aggregations/getting-started