Sha256: 9cb227b946c2c1ef82066b14beebf805365fa9ce5b1ecfeb41631b0aaa079c73

Contents?: true

Size: 345 Bytes

Versions: 13

Compression:

Stored size: 345 Bytes

Contents

# This migration comes from erp_txns_and_accts (originally 20101014142230)
class FinancialTxnTypes
  
  def self.up
    BizTxnType.create(
      :description => "Payment Transaction",
      :internal_identifier => 'payment_txn'
    )
  end
  
  def self.down
    type = BizTxnType.iid('payment_txn')
    type.destroy unless type.nil?
  end

end

Version data entries

13 entries across 13 versions & 8 rubygems

Version Path
erp_orders-3.1.1 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_txns_and_accts-3.1.1 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_commerce-3.1.3 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_products-3.1.1 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_commerce-3.1.1 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_rules-3.1.0 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_invoicing-3.1.0 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_financial_accounting-3.1.0 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_inventory-3.1.0 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_commerce-3.1.0 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_txns_and_accts-3.1.0 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_orders-3.1.0 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
erp_products-3.1.0 spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb