X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1956ab59130096c19a4f041290b1e933258fb025..ae4487921350e141efed42fdf7cd3fd70d72bc97:/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..4361c9528 100644 --- a/db/migrate/20160822153055_create_issues_and_reports.rb +++ b/db/migrate/20160822153055_create_issues_and_reports.rb @@ -5,7 +5,7 @@ class CreateIssuesAndReports < ActiveRecord::Migration[5.0] t.integer :reportable_id, :null => false t.integer :reported_user_id, :null => false 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