Sha256: f22f60ee6054381ef85f2393d17c1b7e42239bb8fbde236b1339461883e2bdfa

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 Bytes

Contents

class CreateCalcuateBalanceStrategyType < ActiveRecord::Migration
  def up
    unless table_exists?(:calculate_balance_strategy_types)
      create_table :calculate_balance_strategy_types do |t|
        t.string :internal_identifier
        t.string :description

        t.timestamps
      end
    end
  end

  def down
    if table_exists?(:calculate_balance_strategy_types)
      drop_table  calculate_balance_strategy_types
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
erp_invoicing-3.0.6 db/migrate/20120605144227_create_calcuate_balance_strategy_type.rb
erp_invoicing-3.0.5 db/migrate/20120605144227_create_calcuate_balance_strategy_type.rb
erp_invoicing-3.0.4 db/migrate/20120605144227_create_calcuate_balance_strategy_type.rb
erp_invoicing-3.0.3 db/migrate/20120605144227_create_calcuate_balance_strategy_type.rb