Sha256: 88ad6cb1a239f386872d48038e9693469bf53e15d824b0e81a4fb858aa45420e

Contents?: true

Size: 352 Bytes

Versions: 7

Compression:

Stored size: 352 Bytes

Contents

class CreateContactOpportunities < ActiveRecord::Migration
  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

7 entries across 7 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.14.1 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.15.0.beta.2 db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.15.0.beta db/migrate/20100928030611_create_contact_opportunities.rb
fat_free_crm-0.14.0 db/migrate/20100928030611_create_contact_opportunities.rb
reduced_fat_crm-0.15.0.beta db/migrate/20100928030611_create_contact_opportunities.rb
reduced_fat_crm-0.14.0 db/migrate/20100928030611_create_contact_opportunities.rb