Sha256: 0e6e787e53ddce0f50391b21497e576b4e0a256e382cfd86f98cbe76a4452783
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
class AddCustomFieldsToBizTxnEvents < ActiveRecord::Migration def change if ::ActiveRecord::Base.connection.instance_values["config"][:adapter] == 'postgresql' add_column :biz_txn_events, :custom_fields, :hstore add_hstore_index :biz_txn_events, :custom_fields else add_column :biz_txn_events, :custom_fields, :text end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
erp_txns_and_accts-4.0.0 | db/migrate/20140523095709_add_custom_fields_to_biz_txn_events.rb |