X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c3e2e6462f293596aef5d5de18b0a173edc046c7..35fbcf28154b6f15f697018016fbabc952e018a5:/db/migrate/054_refactor_map_bug_tables.rb diff --git a/db/migrate/054_refactor_map_bug_tables.rb b/db/migrate/054_refactor_map_bug_tables.rb index d3839aaa8..70ed81e45 100644 --- a/db/migrate/054_refactor_map_bug_tables.rb +++ b/db/migrate/054_refactor_map_bug_tables.rb @@ -1,10 +1,10 @@ -require 'migrate' +require "migrate" class RefactorMapBugTables < ActiveRecord::Migration def self.up create_table :map_bug_comment do |t| t.column :bug_id, :bigint, :null => false - t.boolean :visible, :null => false + t.boolean :visible, :null => false t.datetime :date_created, :null => false t.string :commenter_name t.string :commenter_ip @@ -12,7 +12,7 @@ class RefactorMapBugTables < ActiveRecord::Migration t.string :comment end - remove_column :map_bugs, :text + remove_column :map_bugs, :text change_column :map_bug_comment, :id, :bigint