Upgrade Stripe con addebito immediato; downgrade programmato a fine periodo. UX billing più sobria con box info; icone piani. API inviti e OAuth YouTube per staff trasmissione; deep link join; scelta partita programmata o nuova. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
306 B
Ruby
10 lines
306 B
Ruby
class AddPendingPlanToSubscriptions < ActiveRecord::Migration[7.2]
|
|
def change
|
|
change_table :subscriptions, bulk: true do |t|
|
|
t.references :pending_plan, type: :uuid, foreign_key: { to_table: :plans }
|
|
t.string :pending_billing_interval
|
|
t.string :stripe_schedule_id
|
|
end
|
|
end
|
|
end
|