diff options
author | David Gay <david@davidgay.org> | 2023-11-02 20:46:20 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2023-11-02 20:46:20 -0400 |
commit | 4cb128fa24da1d960a20b981aac7b82e2868db26 (patch) | |
tree | 4e0d6062f19a11e9e63277421ae431903777e3d4 /db/migrate/20231103002142_change_pokemon_pokedex_num_to_string.rb | |
parent | 252428f1e9e45254d2e4fc8cfa79e83ea183c56b (diff) |
Support and add gen 2 sprites, including unowns
Diffstat (limited to 'db/migrate/20231103002142_change_pokemon_pokedex_num_to_string.rb')
-rw-r--r-- | db/migrate/20231103002142_change_pokemon_pokedex_num_to_string.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20231103002142_change_pokemon_pokedex_num_to_string.rb b/db/migrate/20231103002142_change_pokemon_pokedex_num_to_string.rb new file mode 100644 index 0000000..0771aba --- /dev/null +++ b/db/migrate/20231103002142_change_pokemon_pokedex_num_to_string.rb @@ -0,0 +1,9 @@ +class ChangePokemonPokedexNumToString < ActiveRecord::Migration[7.1] + def up + change_column :pokemons, :pokedex_num, :string + end + + def down + change_column :pokemons, :pokedex_num, :integer + end +end |