Sha256: 5562c0872cc14eae0fab490b36a44b7eca100c50f7d83d08a1d9fd0fdc1d1ee5

Contents?: true

Size: 350 Bytes

Versions: 7

Compression:

Stored size: 350 Bytes

Contents

class CreateJoinTableBlurbsIssues < ActiveRecord::Migration
  def change
    create_table :c80_news_tz_blurbs_issues, :id => false do |t|
      t.integer :issue_id, :null => false
      t.integer :r_blurb_id, :null => false
    end

    # Add table index
    add_index :c80_news_tz_blurbs_issues, [:issue_id, :r_blurb_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/20160309165151_create_join_table_blurbs_issues.rb
c80_news_tz-0.1.1.25 db/migrate/20160309165151_create_join_table_blurbs_issues.rb
c80_news_tz-0.1.1.24 db/migrate/20160309165151_create_join_table_blurbs_issues.rb
c80_news_tz-0.1.1.23 db/migrate/20160309165151_create_join_table_blurbs_issues.rb
c80_news_tz-0.1.1.22 db/migrate/20160309165151_create_join_table_blurbs_issues.rb
c80_news_tz-0.1.1.21 db/migrate/20160309165151_create_join_table_blurbs_issues.rb
c80_news_tz-0.1.1.19 db/migrate/20160309165151_create_join_table_blurbs_issues.rb