Sha256: 29291ef299b0a405d32dde36d555b2a58988bb5fe0e62551146504f1d4c67039

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

class CreateMechanizeStorePayments < ActiveRecord::Migration
  def change
    create_table :mechanize_store_payments do |t|
      t.integer :payable_id
      t.string :payable_type
      t.references :payment_status, index: true
      t.float :value
      t.float :paid_value
      t.datetime :paid_in
      t.integer :plot
      t.references :flag, index: true

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mechanize-store-0.0.2 db/migrate/20140402140539_create_mechanize_store_payments.rb
mechanize-store-0.0.1 db/migrate/20140402140539_create_mechanize_store_payments.rb