X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/67a95ac7e92881249f5729f0fa9e7c9f9f95fff2..2dd8f09395f1a8e050330b360154e5b7ad1a8492:/db/migrate/20160822153115_create_issue_comments.rb diff --git a/db/migrate/20160822153115_create_issue_comments.rb b/db/migrate/20160822153115_create_issue_comments.rb index e3c379bc1..73aab9a12 100644 --- a/db/migrate/20160822153115_create_issue_comments.rb +++ b/db/migrate/20160822153115_create_issue_comments.rb @@ -1,10 +1,9 @@ -class CreateIssueComments < ActiveRecord::Migration +class CreateIssueComments < ActiveRecord::Migration[5.0] def change create_table :issue_comments do |t| - t.integer :issue_id - t.integer :commenter_user_id - t.text :body - t.boolean :reassign + t.integer :issue_id, :null => false + t.integer :commenter_user_id, :null => false + t.text :body, :null => false t.timestamps :null => false end