summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpereira2 <rpereira@gitlab.com>2019-04-26 15:32:02 +0530
committerrpereira2 <rpereira@gitlab.com>2019-04-26 18:03:49 +0530
commit8c4fc7d7509555380d95e56402c7861978a0c7cd (patch)
tree2a2f7e3a0a7a1005a4bb651b6ccea5b903d268c7
parentdd8c1c9019446bb20cda9712a592c40559df1af4 (diff)
downloadgitlab-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.rb2
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