Sha256: 59c72f5157cec5b75527b976ef19c2c18c6888a859594130aaf8ca39ee1dc25f
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
class GtpayTransaction < ActiveRecord::Migration def change create_table :spree_gtpay_transactions do |t| t.references :order t.string :gtpay_tranx_id t.decimal :gtpay_tranx_amount, :precision => 8, :scale => 2 t.string :gtpay_tranx_currency t.integer :user_id t.string :gtpay_tranx_status_code t.string :gtpay_tranx_memo t.string :gtpay_tranx_status_msg t.string :status t.timestamps end add_index :spree_gtpay_transactions, :gtpay_tranx_id add_index :spree_gtpay_transactions, :user_id add_index :spree_gtpay_transactions, :status end end
Version data entries
3 entries across 3 versions & 1 rubygems