19 lines
439 B
Ruby
19 lines
439 B
Ruby
class CreateWowPetAbilities < ActiveRecord::Migration[6.1]
|
|
def change
|
|
create_table :wow_pet_abilities do |t|
|
|
t.integer :ability_id
|
|
t.jsonb :name
|
|
t.string :battle_pet_type
|
|
t.jsonb :translated_battle_pet_type
|
|
t.integer :battle_pet_type_id
|
|
t.integer :rounds
|
|
t.string :media
|
|
t.string :href
|
|
|
|
t.timestamps
|
|
end
|
|
|
|
add_index :wow_pet_abilities, :ability_id, unique: true
|
|
end
|
|
end
|