Sha256: 8f4915efea5b32f54553bd7794c7763f68be53eb078f9259f13cc6eaf5387080

Contents?: true

Size: 325 Bytes

Versions: 8

Compression:

Stored size: 325 Bytes

Contents

class CreateAccountOpportunities < ActiveRecord::Migration[4.2]
  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

8 entries across 8 versions & 1 rubygems

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