summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20231103011455_create_pokedex_entries.rb2
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