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