Sha256: 4bc93d276abf2c34541da92623bea5082f2b4830135c8e68f816bc5903d11ff2

Contents?: true

Size: 581 Bytes

Versions: 1

Compression:

Stored size: 581 Bytes

Contents

class CreateCalEvtPartyRoles < ActiveRecord::Migration
  def change
    create_table :cal_evt_party_roles do |t|

      t.references  :party
      t.references  :role_type
      t.references  :calendar_event
      t.text        :description

      t.timestamps
    end

    add_index :cal_evt_party_roles, :id, :name => "cepr_id_idx"
    add_index :cal_evt_party_roles, :party_id, :name => "cepr_party_id_idx"
    add_index :cal_evt_party_roles, :calendar_event_id, :name => "cepr__evtid_idx"
    add_index :cal_evt_party_roles, :role_type_id, :name => "cepr_rt_id_idx"

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_work_effort-4.2.0 db/migrate/20150616174228_create_cal_evt_party_roles.rb