Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210728110654_add_status_to_error_tracking_error.rb')
-rw-r--r--db/migrate/20210728110654_add_status_to_error_tracking_error.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20210728110654_add_status_to_error_tracking_error.rb b/db/migrate/20210728110654_add_status_to_error_tracking_error.rb
new file mode 100644
index 00000000000..035f97dc963
--- /dev/null
+++ b/db/migrate/20210728110654_add_status_to_error_tracking_error.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class AddStatusToErrorTrackingError < ActiveRecord::Migration[6.1]
+ def up
+ add_column :error_tracking_errors, :status, :integer, null: false, default: 0, limit: 2
+ end
+
+ def down
+ remove_column :error_tracking_errors, :status
+ end
+end