X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0df788d74232330eea5c2d4854ba0d10796053eb..80a241f7985fec6ec853e48a25823446b59b7682:/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 a9ba96554..ce2374c31 100644 --- a/db/migrate/20160822153055_create_issues_and_reports.rb +++ b/db/migrate/20160822153055_create_issues_and_reports.rb @@ -3,7 +3,7 @@ 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.column :assigned_role, :user_role_enum, :null => false t.datetime :resolved_at @@ -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