GoogleChrome / webstatus.dev

A tool to monitor and track the status of all Web Platform features across dimensions that are related to availability and implementation quality across browsers, and adoption by web developers.
https://webstatus.dev
Apache License 2.0
92 stars 6 forks source link

Add Spanner functionality to store mappings between Enums & Features #675

Closed jcscottiii closed 1 week ago

jcscottiii commented 1 week ago

This change builds on the landed schema changes in #665.

This change adds functionality to store mappings between web features (Table: WebFeatures) and Enum Values (Table: ChromiumHistogramEnumValues)

Since the metrics are given by enum value ID, this mapping will be useful for looking up the metrics for a given features

Table: WebFeatureChromiumHistogramEnumValues

Part of splitting up #616