From 8c4fc7d7509555380d95e56402c7861978a0c7cd Mon Sep 17 00:00:00 2001 From: rpereira2 Date: Fri, 26 Apr 2019 15:32:02 +0530 Subject: Remove default: nil from migration --- db/migrate/20190422082247_create_project_metrics_settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1