Added sortable headers + search + reportable Notes

This commit is contained in:
Shrey 2015-07-20 22:22:41 +05:30 committed by Matt Amos
parent 206e1309a9
commit 69c1f6d186
11 changed files with 177 additions and 48 deletions

View file

@ -0,0 +1,7 @@
class AddReportCountToIssues < ActiveRecord::Migration
def change
add_column :issues, :report_count, :integer, :default => 0
add_foreign_key :issues, :users, :column => :updated_by, :name => "issues_updated_by_fkey", on_delete: :cascade
add_index :issues, :updated_by
end
end