Sha256: 0ba5ab85a02856bce7dbea8000733da68952d967abcbbf1a34ad775ad2b7d81c

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

class CreateTransactions < ActiveRecord::Migration
  def self.up
    create_table :transactions do |t|
      t.integer :invoice_id,        :null=>false
      t.integer :paymentgateway_id, :null=>false
      t.integer :transaction_price
      t.text    :data_sent
      t.text    :data_recieved
      t.string  :status, :limit=>255
      t.timestamps
    end
  end

  def self.down
    drop_table :transactions
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 db/migrate/20090519070149_create_transactions.rb
smukherjee-openbill-0.1.6 db/migrate/20090519070149_create_transactions.rb
smukherjee-openbill-0.1.7 db/migrate/20090519070149_create_transactions.rb
openbill-0.1.5 db/migrate/20090519070149_create_transactions.rb
openbill-0.1.6 db/migrate/20090519070149_create_transactions.rb