mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-19 18:04:45 +00:00
Instead of deleting customers on cancel we will now update the subscription status to canceled. This way we can have some visibility on which users have canceled.
8 lines
188 B
Ruby
8 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddStatusToSubscriptions < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_column :discourse_subscriptions_subscriptions, :status, :string
|
|
end
|
|
end
|