add WowSpell

This commit is contained in:
2021-05-30 14:32:34 +02:00
parent df26a9ca6f
commit d0e5824d40
7 changed files with 79 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
class CreateWowSpells < ActiveRecord::Migration[6.1]
def change
create_table :wow_spells do |t|
t.integer :spell_id
t.jsonb :name
t.jsonb :description
t.integer :media_id
t.timestamps
end
add_index :wow_spells, :spell_id, unique: true
end
end