X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1956ab59130096c19a4f041290b1e933258fb025..424b6ef1cf760c4a3e27ac1e6f612ae42a9cd493:/db/migrate/20160822153055_create_issues_and_reports.rb diff --git a/db/migrate/20160822153055_create_issues_and_reports.rb b/db/migrate/20160822153055_create_issues_and_reports.rb index cdd3ea7c7..ce2374c31 100644 --- a/db/migrate/20160822153055_create_issues_and_reports.rb +++ b/db/migrate/20160822153055_create_issues_and_reports.rb @@ -3,9 +3,9 @@ class CreateIssuesAndReports < ActiveRecord::Migration[5.0] create_table :issues do |t| t.string :reportable_type, :null => false t.integer :reportable_id, :null => false - t.integer :reported_user_id, :null => false + t.integer :reported_user_id t.integer :status - t.string :issue_type + t.column :assigned_role, :user_role_enum, :null => false t.datetime :resolved_at t.integer :resolved_by t.integer :updated_by @@ -24,6 +24,7 @@ class CreateIssuesAndReports < ActiveRecord::Migration[5.0] t.integer :issue_id t.integer :user_id t.text :details, :null => false + t.string :category, :null => false t.timestamps :null => false end