X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e31376e28da8f656e33508cc899da465b63673c5..68213e381252addee172f329e3a52bc361a9499a:/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 57e35f48b..725560787 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.datetime :created_at + t.integer :issue_id, :null => false + t.integer :commenter_user_id, :null => false + t.text :body, :null => false t.boolean :reassign t.timestamps :null => false end