X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5cc0eba3f10da37a14e8f27f04c7695505b4c684..757a1aaa850bf48e45ee1dd2225cda1c9fa47d73:/db/migrate/20160822153153_add_report_count_to_issues.rb diff --git a/db/migrate/20160822153153_add_report_count_to_issues.rb b/db/migrate/20160822153153_add_report_count_to_issues.rb index f7ee556cf..17a1151e7 100644 --- a/db/migrate/20160822153153_add_report_count_to_issues.rb +++ b/db/migrate/20160822153153_add_report_count_to_issues.rb @@ -1,7 +1,7 @@ class AddReportCountToIssues < ActiveRecord::Migration def change add_column :issues, :report_count, :integer, :default => 0 - add_foreign_key :issues, :users, :column => :updated_by, :name => "issues_updated_by_fkey", on_delete: :cascade - add_index :issues, :updated_by + add_foreign_key :issues, :users, :column => :updated_by, :name => "issues_updated_by_fkey", :on_delete => :cascade + add_index :issues, :updated_by end end