Sha256: 1bee8c61d2fc6292e99182611f475f2c91b7511a925b3b5700fd3cae58cb33ff
Contents?: true
Size: 244 Bytes
Versions: 18
Compression:
Stored size: 244 Bytes
Contents
class CreateJoinTableCategoriesListings < ActiveRecord::Migration[6.0] def change create_join_table :categories, :listings do |t| # t.index [:category_id, :listing_id] # t.index [:listing_id, :category_id] end end end
Version data entries
18 entries across 18 versions & 1 rubygems