diff options
author | David Gay <david@davidgay.org> | 2023-11-03 00:46:36 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2023-11-03 00:46:36 -0400 |
commit | 47ecf3f515ef5bd7db2c4f3bce0a872a46ca2233 (patch) | |
tree | 2d35d24c94ce69159946cde8229d04292cce3e84 /db/migrate/20231103011455_create_pokedex_entries.rb | |
parent | 86f9bb8a2c3a8f011ac4b9c8d726e34607ed47c1 (diff) |
Adjust PokedexEntry to take a shiny boolean instead
Diffstat (limited to 'db/migrate/20231103011455_create_pokedex_entries.rb')
-rw-r--r-- | db/migrate/20231103011455_create_pokedex_entries.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20231103011455_create_pokedex_entries.rb b/db/migrate/20231103011455_create_pokedex_entries.rb index 04232b1..aa75459 100644 --- a/db/migrate/20231103011455_create_pokedex_entries.rb +++ b/db/migrate/20231103011455_create_pokedex_entries.rb @@ -5,7 +5,7 @@ class CreatePokedexEntries < ActiveRecord::Migration[7.1] t.references :run, null: false, foreign_key: true t.references :pokemon, null: false, foreign_key: true t.timestamp :recorded_at, null: false - t.timestamp :recorded_shiny_at + t.boolean :shiny, null: false, default: false t.timestamps end |