Sha256: 2284472793e2ce9c8750466c7efa63fa127d0214f94f893f9414724b626642d4
Contents?: true
Size: 387 Bytes
Versions: 21
Compression:
Stored size: 387 Bytes
Contents
class CreateEmsArticlesReports < ActiveRecord::Migration def up # Create the association table create_table :ems_articles_reports, :id => false do |t| t.integer :article_id, :null => false t.integer :report_id, :null => false end # Add table index add_index :ems_articles_reports, [:article_id, :report_id], :unique => true end def down end end
Version data entries
21 entries across 21 versions & 1 rubygems