X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..238f750b000ee145ebffca94567c042396809e20:/db/migrate/20160822153055_create_issues_and_reports.rb?ds=sidebyside diff --git a/db/migrate/20160822153055_create_issues_and_reports.rb b/db/migrate/20160822153055_create_issues_and_reports.rb index 544ddbd60..83a9d9171 100644 --- a/db/migrate/20160822153055_create_issues_and_reports.rb +++ b/db/migrate/20160822153055_create_issues_and_reports.rb @@ -1,8 +1,6 @@ -require "migrate" - class CreateIssuesAndReports < ActiveRecord::Migration[5.0] def up - create_enumeration :issue_status_enum, %w[open ignored resolved] + create_enum :issue_status_enum, %w[open ignored resolved] create_table :issues do |t| t.string :reportable_type, :null => false