Sha256: 977f95030631581be3653d7959dc8de059c54dfdbf51f5763ab1f7492c4cfbf8

Contents?: true

Size: 236 Bytes

Versions: 6

Compression:

Stored size: 236 Bytes

Contents

class CreateJoinTableFeaturesListings < ActiveRecord::Migration[6.0]
  def change
    create_join_table :features, :listings do |t|
      # t.index [:feature_id, :listing_id]
      # t.index [:listing_id, :feature_id]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
phcdevworks_real_estate-1.3.1 db/migrate/20180918034641_create_join_table_features_listings.rb
phcdevworks_real_estate-1.3.0 db/migrate/20180918034641_create_join_table_features_listings.rb
phcdevworks_real_estate-1.2.0 db/migrate/20180918034641_create_join_table_features_listings.rb
phcdevworks_real_estate-1.1.1 db/migrate/20180918034641_create_join_table_features_listings.rb
phcdevworks_real_estate-1.1.0 db/migrate/20180918034641_create_join_table_features_listings.rb
phcdevworks_real_estate-1.0.0 db/migrate/20180918034641_create_join_table_features_listings.rb