Sha256: 39c92e8aaecc37b33e7b045cde152d74a8aa90b5c4ff8dda8d46f89bfb3d8fa4
Contents?: true
Size: 356 Bytes
Versions: 11
Compression:
Stored size: 356 Bytes
Contents
class CreateJoinTableFactsLocations < ActiveRecord::Migration def change create_table :c80_news_tz_facts_locations, :id => false do |t| t.integer :fact_id, :null => false t.integer :location_id, :null => false end # Add table index add_index :c80_news_tz_facts_locations, [:fact_id, :location_id], :unique => true end end
Version data entries
11 entries across 11 versions & 1 rubygems