Sha256: 83be66dad587797675c11f90e2813dedd425ca246876d62b17a34ae57d5916d7

Contents?: true

Size: 320 Bytes

Versions: 7

Compression:

Stored size: 320 Bytes

Contents

class CreateAccountOpportunities < ActiveRecord::Migration
  def self.up
    create_table :account_opportunities, force: true do |t|
      t.references :account
      t.references :opportunity
      t.datetime :deleted_at
      t.timestamps
    end
  end

  def self.down
    drop_table :account_opportunities
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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