Skip to content

Commit

Permalink
feat: add new migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mumarkhan999 committed Dec 12, 2023
1 parent 009f9c1 commit 6b4c938
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.2.20 on 2023-12-05 10:34
# Generated by Django 3.2.20 on 2023-12-12 13:19

import django.core.serializers.json
from django.db import migrations, models
Expand All @@ -11,6 +11,11 @@ class Migration(migrations.Migration):
]

operations = [
migrations.AddField(
model_name='line',
name='tax_code',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='VAT rate code'),
),
migrations.AlterField(
model_name='lineattribute',
name='value',
Expand Down
28 changes: 28 additions & 0 deletions ecommerce/extensions/offer/migrations/0056_auto_20231212_1249.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 3.2.20 on 2023-12-12 12:49

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('offer', '0055_auto_20231108_1355'),
]

operations = [
migrations.AddField(
model_name='rangeproductfileupload',
name='upload_type',
field=models.CharField(choices=[('included', 'Included products upload'), ('excluded', 'Excluded products upload')], default='included', max_length=8),
),
migrations.AlterField(
model_name='historicalrange',
name='description',
field=models.TextField(blank=True, verbose_name='Description'),
),
migrations.AlterField(
model_name='range',
name='description',
field=models.TextField(blank=True, verbose_name='Description'),
),
]
47 changes: 47 additions & 0 deletions ecommerce/extensions/order/migrations/0028_auto_20231212_1249.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Generated by Django 3.2.20 on 2023-12-12 12:49

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('order', '0027_alter_lineattribute_value'),
]

operations = [
migrations.AlterModelOptions(
name='surcharge',
options={'ordering': ['pk'], 'verbose_name': 'Surcharge', 'verbose_name_plural': 'Surcharges'},
),
migrations.AddField(
model_name='historicalline',
name='tax_code',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='VAT rate code'),
),
migrations.AddField(
model_name='historicalorder',
name='shipping_tax_code',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='Shipping VAT rate code'),
),
migrations.AddField(
model_name='line',
name='tax_code',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='VAT rate code'),
),
migrations.AddField(
model_name='lineprice',
name='tax_code',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='VAT rate code'),
),
migrations.AddField(
model_name='order',
name='shipping_tax_code',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='Shipping VAT rate code'),
),
migrations.AddField(
model_name='surcharge',
name='tax_code',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='VAT rate code'),
),
]

0 comments on commit 6b4c938

Please sign in to comment.