13 lines
239 B
Ruby
13 lines
239 B
Ruby
class CreateWowGeoMaps < ActiveRecord::Migration[6.1]
|
|
def change
|
|
create_table :wow_geo_maps do |t|
|
|
t.integer :map_id
|
|
t.jsonb :name
|
|
|
|
t.timestamps
|
|
end
|
|
|
|
add_index :wow_geo_maps, :map_id, unique: true
|
|
end
|
|
end
|