Sha256: ae70f7a483c744124139011d488c7bf0b71fd76af48ef6bb63e962885f224381

Contents?: true

Size: 360 Bytes

Versions: 7

Compression:

Stored size: 360 Bytes

Contents

class CreateJoinTableAdvertisersLives < ActiveRecord::Migration
  def change
    create_table :c80_news_tz_advs_lives, :id => false do |t|
      t.integer :r_advertiser_id, :null => false
      t.integer :r_live_id, :null => false
    end

    # Add table index
    add_index :c80_news_tz_advs_lives, [:r_advertiser_id, :r_live_id], :unique => true

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
c80_news_tz-0.1.1.26 db/migrate/20160309134444_create_join_table_advertisers_lives.rb
c80_news_tz-0.1.1.25 db/migrate/20160309134444_create_join_table_advertisers_lives.rb
c80_news_tz-0.1.1.24 db/migrate/20160309134444_create_join_table_advertisers_lives.rb
c80_news_tz-0.1.1.23 db/migrate/20160309134444_create_join_table_advertisers_lives.rb
c80_news_tz-0.1.1.22 db/migrate/20160309134444_create_join_table_advertisers_lives.rb
c80_news_tz-0.1.1.21 db/migrate/20160309134444_create_join_table_advertisers_lives.rb
c80_news_tz-0.1.1.19 db/migrate/20160309134444_create_join_table_advertisers_lives.rb