Sha256: 04a08fcf4627e6bafbe7440b2079a1ccb8d20a8d7b8ae22fab50aba58e9496fa

Contents?: true

Size: 166 Bytes

Versions: 8

Compression:

Stored size: 166 Bytes

Contents

class RenameStripeSubscriptionsDiscount < ActiveRecord::Migration[5.1]
  def change
    rename_column :stripe_subscriptions, :discount, :stripe_discount_id
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.7 db/migrate/20180216224335_rename_stripe_subscriptions_discount.rb
stripe_model_callbacks-0.1.6 db/migrate/20180216224335_rename_stripe_subscriptions_discount.rb
stripe_model_callbacks-0.1.5 db/migrate/20180216224335_rename_stripe_subscriptions_discount.rb
stripe_model_callbacks-0.1.4 db/migrate/20180216224335_rename_stripe_subscriptions_discount.rb
stripe_model_callbacks-0.1.3 db/migrate/20180216224335_rename_stripe_subscriptions_discount.rb
stripe_model_callbacks-0.1.2 db/migrate/20180216224335_rename_stripe_subscriptions_discount.rb
stripe_model_callbacks-0.1.1 db/migrate/20180216224335_rename_stripe_subscriptions_discount.rb
stripe_model_callbacks-0.1.0 db/migrate/20180216224335_rename_stripe_subscriptions_discount.rb