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/20200528171933_remove_not_null_from_external_dashboard_url.rb')
-rw-r--r--db/migrate/20200528171933_remove_not_null_from_external_dashboard_url.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20200528171933_remove_not_null_from_external_dashboard_url.rb b/db/migrate/20200528171933_remove_not_null_from_external_dashboard_url.rb
new file mode 100644
index 00000000000..d146c8b487b
--- /dev/null
+++ b/db/migrate/20200528171933_remove_not_null_from_external_dashboard_url.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+# See https://docs.gitlab.com/ee/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class RemoveNotNullFromExternalDashboardUrl < ActiveRecord::Migration[6.0]
+ DOWNTIME = false
+
+ def change
+ change_column_null :project_metrics_settings, :external_dashboard_url, true
+ end
+end