Sha256: 45b643fc48215c86d6df17a698e0c7cdafdb9f272f2b9c2880714b3c3b4eb93f
Contents?: true
Size: 523 Bytes
Versions: 8
Compression:
Stored size: 523 Bytes
Contents
class CreateCoinPaymentTransactions < ActiveRecord::Migration[5.1] def change create_table :coin_payment_transactions do |t| t.decimal :estimated_value, precision: 24, scale: 0 t.string :transaction_hash t.string :block_hash t.datetime :block_time t.datetime :estimated_time t.integer :coin_payment_id t.decimal :coin_conversion, precision: 24, scale: 0 t.integer :confirmations, default: 0 end add_index :coin_payment_transactions, :coin_payment_id end end
Version data entries
8 entries across 4 versions & 1 rubygems