X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a0b665faf71b671eed57493a899f6ffc8b82ddc5..33c43ab0affe7317d7d136bc6ed934d6f6951585:/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..b41dde8a7 100644 --- a/db/migrate/20160822153115_create_issue_comments.rb +++ b/db/migrate/20160822153115_create_issue_comments.rb @@ -1,9 +1,9 @@ class CreateIssueComments < ActiveRecord::Migration def change create_table :issue_comments do |t| - t.integer :issue_id - t.integer :commenter_user_id - t.text :body + 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