Sha256: f0a08a3d4f63453967ddbbed4afb20bf2892312ad159329f9bd77b47deafc260

Contents?: true

Size: 357 Bytes

Versions: 8

Compression:

Stored size: 357 Bytes

Contents

class CreateContactOpportunities < ActiveRecord::Migration[4.2]
  def self.up
    create_table :contact_opportunities, force: true do |t|
      t.references :contact
      t.references :opportunity
      t.string :role, limit: 32
      t.datetime :deleted_at
      t.timestamps
    end
  end

  def self.down
    drop_table :contact_opportunities
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.15.2 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.16.4 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.15.1 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.16.3 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.16.2 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.16.1 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.16.0 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.15.0 db/migrate/20100928030611_create_contact_opportunities.rb