diff options
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.rb | 12 |
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 |