Sha256: d122f11a10ae8d51a6752b656f6ac619e7c0bdea4defa088e5072980051977ef

Contents?: true

Size: 345 Bytes

Versions: 8

Compression:

Stored size: 345 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
      t.timestamps null: false
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
comable-core-0.7.1 db/migrate/20150511171940_create_comable_payments.rb
comable-core-0.7.0 db/migrate/20150511171940_create_comable_payments.rb
comable-core-0.7.0.beta2 db/migrate/20150511171940_create_comable_payments.rb
comable-core-0.7.0.beta1 db/migrate/20150511171940_create_comable_payments.rb
comable-core-0.6.0 db/migrate/20150511171940_create_comable_payments.rb
comable_core-0.5.0 db/migrate/20150511171940_create_comable_payments.rb
comable_core-0.4.2 db/migrate/20150511171940_create_comable_payments.rb
comable_core-0.4.1 db/migrate/20150511171940_create_comable_payments.rb