react-code-dataset / airbnb_clone /db /migrate /20190707233214_rename_latitude_to_lat.rb
Devendra174's picture
Upload folder using huggingface_hub
f5071ca verified
raw
history blame contribute delete
165 Bytes
class RenameLatitudeToLat < ActiveRecord::Migration[5.2]
def change
rename_column :spots, :latitude, :lat
rename_column :spots, :longitude, :lng
end
end