continue to backport old code
This commit is contained in:
18
db/migrate/20210423153730_create_wow_pet_abilities.rb
Normal file
18
db/migrate/20210423153730_create_wow_pet_abilities.rb
Normal 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
|
||||
Reference in New Issue
Block a user