/Archipelago/vendor/

dd_description_and_type_to_moves.pokeviewer.rb?h=master' type='application/atom+xml'/>
about summary refs log tree commit diff stats
path: root/db/migrate/20171015171553_add_description_and_type_to_moves.pokeviewer.rb
blob: 0eb7cb1a2f49ed6e1ece1a3a57841e15497070bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This migration comes from pokeviewer (originally 20170930190647)
class AddDescriptionAndTypeToMoves < ActiveRecord::Migration[5.1]
  def change
    change_table :pokeviewer_moves do |t|
      t.string :move_type, null: false, default: ""
      t.string :rs_description, null: false, default: ""
      t.string :frlg_description, null: false, default: ""
      t.string :emerald_description
    end

    change_column_default :pokeviewer_moves, :move_type, nil
    change_column_default :pokeviewer_moves, :rs_description, nil
    change_column_default :pokeviewer_moves, :frlg_description, nil
  end
end