027_create_categories_profiles.rb 264 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 class CreateCategoriesProfiles < ActiveRecord::Migration def self.up create_table :categories_profiles, :id => false do |t| t.integer :profile_id t.integer :category_id end end def self.down drop_table :categories_profiles end end