add migration

main
Laurent Morvillier 9 months ago
parent 9d16e12b2e
commit 743687bc75
  1. 28
      subscriptions/migrations/0007_assnotification_offer_discount_type_and_more.py

@ -0,0 +1,28 @@
# Generated by Django 5.1.6 on 2025-02-27 15:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('subscriptions', '0006_delete_tester'),
]
operations = [
migrations.AddField(
model_name='assnotification',
name='offer_discount_type',
field=models.CharField(blank=True, choices=[('FREE_TRIAL', 'FREE_TRIAL'), ('PAY_AS_YOU_GO', 'PAY_AS_YOU_GO'), ('PAY_UP_FRONT', 'PAY_UP_FRONT')], help_text='The payment mode for an introductory offer, promotional offer, or offer code on an auto-renewable subscription.', max_length=20, null=True),
),
migrations.AddField(
model_name='assnotification',
name='offer_identifier',
field=models.CharField(blank=True, help_text='The identifier that contains the promo code or the promotional offer identifier.', max_length=255, null=True),
),
migrations.AddField(
model_name='assnotification',
name='offer_type',
field=models.IntegerField(blank=True, choices=[(1, 'INTRODUCTORY_OFFER'), (2, 'PROMOTIONAL_OFFER'), (3, 'SUBSCRIPTION_OFFER_CODE'), (4, 'WIN_BACK_OFFER')], help_text='A value that represents the promotional offer type.', null=True),
),
]
Loading…
Cancel
Save