Sha256: 90c9382e5f8484ca83aa673f2fa9796b77ec7a4e306c04171e0c7a9c3107fe7e
Contents?: true
Size: 246 Bytes
Versions: 19
Compression:
Stored size: 246 Bytes
Contents
class CreateJoinTableCategoriesListings < ActiveRecord::Migration[5.2] 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
19 entries across 19 versions & 2 rubygems