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,20 @@
class CreateWowMounts < ActiveRecord::Migration[6.1]
def change
create_table :wow_mounts do |t|
t.jsonb :name
t.string :source_type
t.jsonb :translated_source
t.string :faction
t.jsonb :translated_faction
t.jsonb :description
t.integer :mount_id, null: false
t.integer :creature_display_id
t.string :href
t.string :asset_zoom
t.timestamps
end
add_index :wow_mounts, :mount_id, unique: true
end
end