```ruby
class CreateDivesitesLocations < ActiveRecord::Migration
  def change
    create_table :divesites_locations do |t|
    end
  end
end
```

Add migration for divesite location join table
user
```ruby
class CreateDivesitesLocations < ActiveRecord::Migration
  def change
    create_table :divesites_locations do |t|
      t.references :dive_site
      t.references :location
    end
  end
end
```
assistant