]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20160822153055_create_issues_and_reports.rb
Merge remote-tracking branch 'upstream/pull/5374'
[rails.git] / db / migrate / 20160822153055_create_issues_and_reports.rb
index 07a549820ac2e9b6cd91a79b35185eccf3c0fea6..83a9d9171558e38e0a4724f42d42a0a260cdd477 100644 (file)
@@ -1,6 +1,6 @@
 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