The problem I encountered when upgrading from gitlab-ce-8.4.5 to 8.13.4, prompted ERROR: column issues.deleted_at does not exist
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Label this issue](https://contributors.gitlab.com/manage-issue?action=label&projectId=278964&issueIid=297369) - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=297369) </details> <!--IssueSummary end--> ==> /var/log/gitlab/gitlab-rails/production.log <== Completed 500 Internal Server Error in 164ms (ActiveRecord: 8.4ms) ActionView::Template::Error (PG::UndefinedColumn: ERROR: column issues.deleted_at does not exist LINE 1: SELECT COUNT(*) FROM "issues" WHERE "issues"."deleted_at" IS... ^ : SELECT COUNT(*) FROM "issues" WHERE "issues"."deleted_at" IS NULL): 14: %p 15: Issues 16: %span.light.pull-right 17: = number_with_delimiter(Issue.count) 18: %p 19: Merge Requests 20: %span.light.pull-right app/views/admin/dashboard/index.html.haml:17:in `_app_views_admin_dashboard_index_html_haml__3987411871993327501_70160403943120' lib/gitlab/request_profiler/middleware.rb:15:in `call' lib/gitlab/middleware/go.rb:16:in `call'
issue