20211210122634_create_projects_technologies_join_table.rb 209 B

12345678
  1. class CreateProjectsTechnologiesJoinTable < ActiveRecord::Migration[6.1]
  2. def change
  3. create_join_table :projects, :technologies do |t|
  4. t.index :project_id
  5. t.index :technology_id
  6. end
  7. end
  8. end