Sha256: af5a2927eb0d18a243f358390ec1e86b12245f7a2345ad6889f9869c6074204f

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

class AddStripeToAdminSettings < ActiveRecord::Migration[6.0]
  def change
  	remove_column :rails_marketplace_admins, :stripe_publishable_key, :string
  	remove_column :rails_marketplace_admins, :stripe_secret_key, :string

  	add_column :rails_marketplace_admin_settings, :stripe_publishable_key, :string
  	add_column :rails_marketplace_admin_settings, :stripe_secret_key, :string
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 db/migrate/20170224233736_add_stripe_to_admin_settings.rb
rails_marketplace-0.0.1 db/migrate/20170224233736_add_stripe_to_admin_settings.rb