diff options
author | Sean McGivern <sean@gitlab.com> | 2017-12-11 16:25:27 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-12-11 17:09:55 +0300 |
commit | 818397f96ee81a2a21d5a01e56239507ea79c811 (patch) | |
tree | 8ae89d6224d4a2a7ed8909cb4c963bacfa85bc41 /app/models/issue.rb | |
parent | dd45a1748920a555d107eaf8bfd4219ed2d4f987 (diff) |
Add spec for removing issues.assignee_id
This migration also needs to be a post-deployment migration, as it removes a
column.
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 33db197e612..bbda848c39d 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -10,6 +10,9 @@ class Issue < ActiveRecord::Base include RelativePositioning include TimeTrackable include ThrottledTouch + include IgnorableColumn + + ignore_column :assignee_id DueDateStruct = Struct.new(:title, :name).freeze NoDueDate = DueDateStruct.new('No Due Date', '0').freeze |