Sha256: 87c97c7fdb95f507e316c77be95ef8d9e962b5f35669b20116ae5fa6640e39e4

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

class CreateMoneytreePaymentGateways < ActiveRecord::Migration[6.0]
  def change
    create_table :moneytree_payment_gateways do |t|
      t.text :psp_credentials
      t.integer :psp, null: false
      t.references :account, polymorphic: true, null: false, index: { name: 'index_moneytree_pg_account_type_and_account_id' }

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moneytree-rails-0.1.2 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.1 db/migrate/20200914151648_create_moneytree_payment_gateways.rb