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