Sha256: a07698aeea4d8e70870d08f55c22d68b2ed224745ec346b1c2eba5f82eab78dc
Contents?: true
Size: 376 Bytes
Versions: 8
Compression:
Stored size: 376 Bytes
Contents
class C80CatoffersAddJoinTableCategoriesOffers < ActiveRecord::Migration def change create_table :c80_catoffers_categories_offers, :id => false do |t| t.integer :category_id, :null => false t.integer :offer_id, :null => false end add_index :c80_catoffers_categories_offers, [:offer_id, :category_id], :unique => true, :name => 'my_index' end end
Version data entries
8 entries across 8 versions & 1 rubygems