diff options
author | rpereira2 <rpereira@gitlab.com> | 2019-04-26 15:32:02 +0530 |
---|---|---|
committer | rpereira2 <rpereira@gitlab.com> | 2019-04-26 18:03:49 +0530 |
commit | 8c4fc7d7509555380d95e56402c7861978a0c7cd (patch) | |
tree | 2a2f7e3a0a7a1005a4bb651b6ccea5b903d268c7 | |
parent | dd8c1c9019446bb20cda9712a592c40559df1af4 (diff) | |
download | gitlab-ce-57171-add-dashboard-settings.tar.gz |
Remove default: nil from migration57171-add-dashboard-settings
-rw-r--r-- | db/migrate/20190422082247_create_project_metrics_settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20190422082247_create_project_metrics_settings.rb b/db/migrate/20190422082247_create_project_metrics_settings.rb index 3e21dd0a934..57851a2ef79 100644 --- a/db/migrate/20190422082247_create_project_metrics_settings.rb +++ b/db/migrate/20190422082247_create_project_metrics_settings.rb @@ -6,7 +6,7 @@ class CreateProjectMetricsSettings < ActiveRecord::Migration[5.0] DOWNTIME = false def change - create_table :project_metrics_settings, id: :int, primary_key: :project_id, default: nil do |t| + create_table :project_metrics_settings, id: :int, primary_key: :project_id do |t| t.string :external_dashboard_url, null: false t.foreign_key :projects, column: :project_id, on_delete: :cascade end |