1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/db/migrate/20201027092149_add_monthly_payment_to_plan.rb
2020-10-27 16:03:20 +01:00

10 lines
294 B
Ruby

# frozen_string_literal: true
# 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