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