diff --git a/db/migrate/20151020183446_create_stats.rb b/db/migrate/20151020183446_create_stats.rb index b5cafd0..79c6682 100644 --- a/db/migrate/20151020183446_create_stats.rb +++ b/db/migrate/20151020183446_create_stats.rb @@ -5,7 +5,7 @@ class CreateStats < ActiveRecord::Migration t.integer :max t.integer :awaken_min t.integer :awaken_make - t.references :state_type, index: true, foreign_key: true + t.references :stat_type, index: true, foreign_key: true t.timestamps null: false end diff --git a/db/migrate/20151020220202_fix_state_to_stat.rb b/db/migrate/20151020220202_fix_state_to_stat.rb deleted file mode 100644 index 5a69c3a..0000000 --- a/db/migrate/20151020220202_fix_state_to_stat.rb +++ /dev/null @@ -1,5 +0,0 @@ -class FixStateToStat < ActiveRecord::Migration - def change - rename_column :stats, :state_type_id, :stat_type_id - end -end