mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-07 17:18:23 +00:00

* feat: indexed test case results * feat: added indexation logic for test case results * style: ran java linting * fix: IDE warnigns * chore: added test case results migration * style: ran java linting * fix: postgres migration column json ref * empty commit to trigger queued * fix: added index on id field
6 lines
258 B
SQL
6 lines
258 B
SQL
ALTER TABLE data_quality_data_time_series
|
|
ADD COLUMN id VARCHAR(36) GENERATED ALWAYS AS (json ->> 'id') STORED,
|
|
ADD CONSTRAINT id_unique UNIQUE (id);
|
|
|
|
CREATE INDEX IF NOT EXISTS data_quality_data_time_series_id_index ON data_quality_data_time_series (id);
|