Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

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 2ac68b3
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ecommerce/extensions/basket/migrations/0017_line_tax_code.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.22 on 2023-12-11 17:13

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('basket', '0016_alter_lineattribute_value'),
]

operations = [
migrations.AddField(
model_name='line',
name='tax_code',
field=models.CharField(blank=True, max_length=64, null=True, verbose_name='VAT rate code'),
),
]
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 2ac68b3

Please sign in to comment.