class CreateMonsterSpawnCombats < ActiveRecord::Migration[6.1] def change create_table :monster_spawn_combats do |t| t.references :monster_spawn, null: false, foreign_key: true t.references :character, null: false, foreign_key: true t.integer :hp_lost t.timestamps end end end