Remove the reassign column from issue_comments

Reassigning is an effect of a controller action, not something that
should be stored in the database like this.
This commit is contained in:
Andy Allan 2017-11-29 16:05:12 +00:00
parent 68213e3812
commit 2dd8f09395
3 changed files with 0 additions and 3 deletions

View file

@ -6,7 +6,6 @@
# issue_id :integer not null
# commenter_user_id :integer not null
# body :text not null
# reassign :boolean
# created_at :datetime not null
# updated_at :datetime not null
#

View file

@ -4,7 +4,6 @@ class CreateIssueComments < ActiveRecord::Migration[5.0]
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

View file

@ -694,7 +694,6 @@ CREATE TABLE issue_comments (
issue_id integer NOT NULL,
commenter_user_id integer NOT NULL,
body text NOT NULL,
reassign boolean,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);