Sha256: 8d22ebc01f5136eab8370a9c8a9e91487a47da3557e2e1bc683c118bbfdcbeee
Contents?: true
Size: 346 Bytes
Versions: 10
Compression:
Stored size: 346 Bytes
Contents
class CreateJoinTableRubricsSpots < ActiveRecord::Migration def change create_table :c80_news_tz_rubrics_spots, :id => false do |t| t.integer :rubric_id, :null => false t.integer :spot_id, :null => false end # Add table index add_index :c80_news_tz_rubrics_spots, [:rubric_id, :spot_id], :unique => true end end
Version data entries
10 entries across 10 versions & 1 rubygems