discourse-subscriptions/db/migrate/20240430163338_add_status_to_subscriptions.rb
Blake Erickson 66e8857c20
DEV: Stop deleting customers on cancel (#207)
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.
2024-05-02 13:38:30 -06:00

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