Merge branch 'release/2.0.11'
This commit is contained in:
commit
95c7707f18
18
src/core/migrations/0010_alter_productvariant_sku.py
Normal file
18
src/core/migrations/0010_alter_productvariant_sku.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.0.2 on 2022-11-08 03:59
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0009_alter_productvariant_sku'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='productvariant',
|
||||
name='sku',
|
||||
field=models.CharField(blank=True, max_length=255),
|
||||
),
|
||||
]
|
||||
@ -164,7 +164,7 @@ class ProductVariant(models.Model):
|
||||
null=True
|
||||
)
|
||||
name = models.CharField(max_length=255)
|
||||
sku = models.CharField(max_length=255, unique=True, blank=True)
|
||||
sku = models.CharField(max_length=255, blank=True)
|
||||
stripe_id = models.CharField(max_length=255, blank=True)
|
||||
price = models.DecimalField(
|
||||
max_digits=settings.DEFAULT_MAX_DIGITS,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user