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:
parent
68213e3812
commit
2dd8f09395
3 changed files with 0 additions and 3 deletions
|
@ -6,7 +6,6 @@
|
||||||
# issue_id :integer not null
|
# issue_id :integer not null
|
||||||
# commenter_user_id :integer not null
|
# commenter_user_id :integer not null
|
||||||
# body :text not null
|
# body :text not null
|
||||||
# reassign :boolean
|
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,7 +4,6 @@ class CreateIssueComments < ActiveRecord::Migration[5.0]
|
||||||
t.integer :issue_id, :null => false
|
t.integer :issue_id, :null => false
|
||||||
t.integer :commenter_user_id, :null => false
|
t.integer :commenter_user_id, :null => false
|
||||||
t.text :body, :null => false
|
t.text :body, :null => false
|
||||||
t.boolean :reassign
|
|
||||||
t.timestamps :null => false
|
t.timestamps :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -694,7 +694,6 @@ CREATE TABLE issue_comments (
|
||||||
issue_id integer NOT NULL,
|
issue_id integer NOT NULL,
|
||||||
commenter_user_id integer NOT NULL,
|
commenter_user_id integer NOT NULL,
|
||||||
body text NOT NULL,
|
body text NOT NULL,
|
||||||
reassign boolean,
|
|
||||||
created_at timestamp without time zone NOT NULL,
|
created_at timestamp without time zone NOT NULL,
|
||||||
updated_at timestamp without time zone NOT NULL
|
updated_at timestamp without time zone NOT NULL
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue