continue to backport old code

This commit is contained in:
2021-04-24 00:24:05 +02:00
parent 5d7217f355
commit 04434760c5
72 changed files with 795 additions and 78 deletions

View File

@@ -0,0 +1,18 @@
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