Sha256: 44f70a0d576f9cfba2c8e1aecb8396f13cf4d8a80468d4d88c83988eb3c903c2

Contents?: true

Size: 349 Bytes

Versions: 9

Compression:

Stored size: 349 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, index: { name: 'index_moneytree_pg_account_type_and_account_id' }

      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
moneytree-rails-0.1.11 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.10 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.9 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.8 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.7 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.6 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.5 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.4 db/migrate/20200914151648_create_moneytree_payment_gateways.rb
moneytree-rails-0.1.3 db/migrate/20200914151648_create_moneytree_payment_gateways.rb