about summary refs log tree commit diff stats
path: root/db/migrate
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 12:39:17 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 12:39:17 -0400
commit012b083cbd74ab687d5529258ff045319265e594 (patch)
tree147d26ccd465fd0761863ca3ac1176bf865166ff /db/migrate
parent1ecba46a8cb0db962908f47ab4e054ee04804a4a (diff)
downloadpokeviewer-012b083cbd74ab687d5529258ff045319265e594.tar.gz
pokeviewer-012b083cbd74ab687d5529258ff045319265e594.tar.bz2
pokeviewer-012b083cbd74ab687d5529258ff045319265e594.zip
Added storage location information to Pokémon
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170924160524_add_storage_info_to_pokemon.rb6
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 @@
1class 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
6end