blob: d2fe0328737d4b9739237651d633587070cc7dfe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
|