Sha256: d18a51abcd6cc88982c74a6b6678a914da751bfe3363c3c9737255372c3f3eff

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

class CreateComablePayments < ActiveRecord::Migration
  def change
    create_table :comable_payments do |t|
      t.references :order, null: false
      t.references :payment_method, null: false
      t.integer :fee, null: false
      t.string :state, null: false
      t.datetime :completed_at
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comable_core-0.4.0 db/migrate/20150511171940_create_comable_payments.rb