mirror of
https://github.com/healthchecks/healthchecks.git
synced 2024-11-21 15:17:57 +00:00
a308997b3a
Why remove: * For self-hosters, payment-related features are unused and dead weight * For SaaS (any would-be Healthchecks.io competitors), the existing payment handling logic is not very useful either, as it would need to be heavily modified to match their business model, pricing, chosen payment gateway * For the hosted service (Healthchecks.io), the up-to-date billing code lives in a private fork of this repo. Maintenance is easier if this repo does not have an older, diverging version of the same functionality A few payment-related bits are staying at least for time being: * the "USE_PAYMENTS" setting * the hc.payments.models.Subscription model * tiny stubs for the "Pricing" and "Billing" pages They are used in various places in the code and templates, and I think ripping them out in one go would be too disruptive.
24 lines
594 B
Python
24 lines
594 B
Python
# Generated by Django 3.0.8 on 2020-07-27 14:30
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('payments', '0006_subscription_invoice_email'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='subscription',
|
|
name='next_billing_date',
|
|
field=models.DateField(blank=True, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='subscription',
|
|
name='renew_notice_date',
|
|
field=models.DateField(blank=True, null=True),
|
|
),
|
|
]
|