Sha256: ef279c296d3d0a83b81c60f796b62f7c7cdc3a2a236e2fd61852bd17daba1b11
Contents?: true
Size: 351 Bytes
Versions: 30
Compression:
Stored size: 351 Bytes
Contents
class CreateBusinessCategories < ActiveRecord::Migration def self.up create_table :business_categories do |t| t.integer :business_id t.integer :category_id end add_index :business_categories, :business_id add_index :business_categories, :category_id end def self.down drop_table :business_categories end end
Version data entries
30 entries across 30 versions & 1 rubygems