diff options
Diffstat (limited to 'db/migrate/20211008193137_add_health_status_column_on_clusters_integration_prometheus.rb')
-rw-r--r-- | db/migrate/20211008193137_add_health_status_column_on_clusters_integration_prometheus.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20211008193137_add_health_status_column_on_clusters_integration_prometheus.rb b/db/migrate/20211008193137_add_health_status_column_on_clusters_integration_prometheus.rb new file mode 100644 index 00000000000..a69d12d4e52 --- /dev/null +++ b/db/migrate/20211008193137_add_health_status_column_on_clusters_integration_prometheus.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +class AddHealthStatusColumnOnClustersIntegrationPrometheus < Gitlab::Database::Migration[1.0] + def change + # For now, health checks will only run on monitor demo projects + add_column :clusters_integration_prometheus, :health_status, :smallint, limit: 2, default: 0, null: false + end +end |