Skip to content

Add elasticsearch_limited_indexing_enabled to Usage Data

Adding a new database column for usage_data table to support gitlab-org/gitlab!122351 (merged)

Database

❯ be rails db:migrate
== 20230629150742 AddElasticsearchLimitIndexingToUsageData: migrating =========
-- add_column(:usage_data, :elasticsearch_limit_indexing, :boolean)
   -> 0.0021s
== 20230629150742 AddElasticsearchLimitIndexingToUsageData: migrated (0.0022s)
❯ be rails db:migrate:down VERSION=20230629150742
== 20230629150742 AddElasticsearchLimitIndexingToUsageData: reverting =========
-- remove_column(:usage_data, :elasticsearch_limit_indexing, :boolean)
   -> 0.0026s
== 20230629150742 AddElasticsearchLimitIndexingToUsageData: reverted (0.0047s)
Edited by Terri Chu

Merge request reports

Loading