Sha256: 0b5aa57d353293d581c2cb73539af400fdad10b1770749daeee20cacfb29917c
Contents?: true
Size: 500 Bytes
Versions: 4
Compression:
Stored size: 500 Bytes
Contents
class CreateTransactionableTransactions < ActiveRecord::Migration def change create_table :transactionable_transactions do |t| t.integer :transactionable_id t.string :transactionable_type t.integer :transaction_loggable_id t.string :transaction_loggable_type t.integer :credit_id t.integer :debit_id t.decimal :amount, precision: 8, scale: 2 t.string :status t.string :description t.string :type t.timestamps end end end
Version data entries
4 entries across 4 versions & 1 rubygems