X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5e7abf67fbda21735d12660a537a96e39bb87107..3e5a4a14df070909ebbfb76add8caae230d0d31d:/db/migrate/20160822153055_create_issues_and_reports.rb diff --git a/db/migrate/20160822153055_create_issues_and_reports.rb b/db/migrate/20160822153055_create_issues_and_reports.rb index ce2374c31..cd0dc7a9f 100644 --- a/db/migrate/20160822153055_create_issues_and_reports.rb +++ b/db/migrate/20160822153055_create_issues_and_reports.rb @@ -21,8 +21,8 @@ class CreateIssuesAndReports < ActiveRecord::Migration[5.0] add_index :issues, :updated_by create_table :reports do |t| - t.integer :issue_id - t.integer :user_id + t.integer :issue_id, :null => false + t.integer :user_id, :null => false t.text :details, :null => false t.string :category, :null => false t.timestamps :null => false