summary refs log tree commit diff stats
path: root/libs/CocosDenshion
diff options
context:
space:
mode:
Diffstat (limited to 'libs/CocosDenshion')
0 files changed, 0 insertions, 0 deletions
400 committer Kelly Rauchenberger <fefferburbia@gmail.com> 2017-10-15 14:18:07 -0400 Fixed MySQL choking on a pokeviewer migration' href='/thoughts/commit/db/migrate/20171015171554_rename_revision_hold_item.pokeviewer.rb?h=dependabot/bundler/rack-2.2.6.3&id=c2fe86394bac998d887c5f59b48849dc067b9e43'>c2fe863 ^
9d6d876 ^
230a501 ^
9d6d876 ^




1
2
3
4
5
6
7
8
9
10
11
12


                                                                  

                                                             
                                             
                        




                                                                              
# This migration comes from pokeviewer (originally 20170930213633)
class RenameRevisionHoldItem < ActiveRecord::Migration[5.1]
  def change
    remove_column :pokeviewer_revisions, :hold_item, :integer

    change_table :pokeviewer_revisions do |t|
      t.references :item
    end

    add_foreign_key :pokeviewer_revisions, :pokeviewer_items, column: :item_id
  end
end