Sha256: 99bed9b6c07dd497935fc3ee9d0ed38e374817bbd0f2dd4e78982ef8327bc657

Contents?: true

Size: 556 Bytes

Versions: 11

Compression:

Stored size: 556 Bytes

Contents

class CreateSolidusPaypalBraintreeCustomers < SolidusSupport::Migration[4.2]
  def change
    create_table :solidus_paypal_braintree_customers do |t|
      t.references :user
      t.string :braintree_customer_id

      t.timestamps
    end

    add_index :solidus_paypal_braintree_customers, :user_id, unique: true, name: "index_braintree_customers_on_user_id"
    add_index :solidus_paypal_braintree_customers, :braintree_customer_id, unique: true, name: "index_braintree_customers_on_braintree_customer_id" # rubocop:disable Layout/LineLength
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
solidus_braintree-3.3.0 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_braintree-3.2.0 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_braintree-3.1.0 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_braintree-3.0.1 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_braintree-3.0.0 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_braintree-2.0.0 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_paypal_braintree-1.2.0 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_paypal_braintree-1.1.2 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_paypal_braintree-1.1.1 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_paypal_braintree-1.1.0 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb
solidus_paypal_braintree-1.0.0 db/migrate/20160906201711_create_solidus_paypal_braintree_customers.rb