1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20201027092149_add_monthly_payment_to_plan.rb

10 lines
294 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2020-10-27 16:03:20 +01:00
# If a plan is marked as "monthly_payment", we can charge its subscriptions with a PaymentSchedule
# instead of a single Invoice
class AddMonthlyPaymentToPlan < ActiveRecord::Migration[5.2]
def change
add_column :plans, :monthly_payment, :boolean
end
end