Sha256: 455c3b8b9d16702bab11a1b852c199d0f8ac2435df5dc6b72d93c87ed106287d
Contents?: true
Size: 400 Bytes
Versions: 21
Compression:
Stored size: 400 Bytes
Contents
class CreateEmsCategoriesChannels < ActiveRecord::Migration def up # Create the association table create_table :ems_categories_channels, :id => false do |t| t.integer :category_id, :null => false t.integer :channel_id, :null => false end # Add table index add_index :ems_categories_channels, [:category_id, :channel_id], :unique => true end def down end end
Version data entries
21 entries across 21 versions & 1 rubygems