add WowSpell
This commit is contained in:
14
db/migrate/20210530121125_create_wow_spells.rb
Normal file
14
db/migrate/20210530121125_create_wow_spells.rb
Normal 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
|
||||
Reference in New Issue
Block a user