diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170924160524_add_storage_info_to_pokemon.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20170924160524_add_storage_info_to_pokemon.rb b/db/migrate/20170924160524_add_storage_info_to_pokemon.rb new file mode 100644 index 0000000..b519b1b --- /dev/null +++ b/db/migrate/20170924160524_add_storage_info_to_pokemon.rb | |||
@@ -0,0 +1,6 @@ | |||
1 | class AddStorageInfoToPokemon < ActiveRecord::Migration[5.1] | ||
2 | def change | ||
3 | add_column :pokeviewer_pokemon, :box, :integer, null: true | ||
4 | add_column :pokeviewer_pokemon, :slot, :integer, null: true | ||
5 | end | ||
6 | end | ||