]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20160822153055_create_issues_and_reports.rb
Merge remote-tracking branch 'upstream/pull/5235'
[rails.git] / db / migrate / 20160822153055_create_issues_and_reports.rb
index 544ddbd60c09a5bee95ea1f0a7ad884a6aa659d1..83a9d9171558e38e0a4724f42d42a0a260cdd477 100644 (file)
@@ -1,8 +1,6 @@
-require "migrate"
-
 class CreateIssuesAndReports < ActiveRecord::Migration[5.0]
   def up
 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
 
     create_table :issues do |t|
       t.string :reportable_type, :null => false