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