Sha256: 164d62d5c090e214e082de9a55b17358442a3beec08328d953a2a1ff45ff017c

Contents?: true

Size: 346 Bytes

Versions: 13

Compression:

Stored size: 346 Bytes

Contents

class CreateJoinTableFactsRubrics < ActiveRecord::Migration
  def change
    create_table :c80_news_tz_facts_rubrics, :id => false do |t|
      t.integer :fact_id, :null => false
      t.integer :rubric_id, :null => false
    end

    # Add table index
    add_index :c80_news_tz_facts_rubrics, [:fact_id, :rubric_id], :unique => true

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
c80_news_tz-0.1.1.26 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.25 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.24 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.23 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.22 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.21 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.19 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.18 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.17 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.16 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.15 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.1 db/migrate/20151213202021_create_join_table_facts_rubrics.rb
c80_news_tz-0.1.1.0 db/migrate/20151213202021_create_join_table_facts_rubrics.rb