mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
billing: Move exempt_from_from_license_number_check to Customer model.
This belongs more on the Customer model, since this is a similar attribute to default_discount.
This commit is contained in:
committed by
Tim Abbott
parent
4ca87d785b
commit
bae86ad3da
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 3.2.4 on 2021-06-18 18:39
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
"""
|
||||
We haven't set the values for this field for the relevant organizations
|
||||
as of this moment, so we can simply drop the column from CustomerPlan
|
||||
and add it to Customer without worrying about losing the values.
|
||||
"""
|
||||
|
||||
dependencies = [
|
||||
("corporate", "0010_customerplan_exempt_from_from_license_number_check"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name="customerplan",
|
||||
name="exempt_from_from_license_number_check",
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="customer",
|
||||
name="exempt_from_from_license_number_check",
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user