Skip to content

Commit

Permalink
Recreate invoice migration after master merge, increase field limits
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszszymanski129 committed Mar 5, 2020
1 parent b06bae4 commit c4e3e29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 2.2.10 on 2020-03-04 10:17
# Generated by Django 2.2.10 on 2020-03-05 08:30

import django.db.models.deletion
from django.db import migrations, models
Expand All @@ -7,7 +7,7 @@
class Migration(migrations.Migration):

dependencies = [
("order", "0078_auto_20200221_0257"),
("order", "0079_auto_20200304_0752"),
]

operations = [
Expand All @@ -23,9 +23,9 @@ class Migration(migrations.Migration):
verbose_name="ID",
),
),
("number", models.CharField(max_length=64)),
("number", models.CharField(max_length=255)),
("created", models.DateTimeField(auto_now_add=True)),
("url", models.URLField(max_length=256)),
("url", models.URLField(max_length=2048)),
(
"order",
models.ForeignKey(
Expand Down
4 changes: 2 additions & 2 deletions saleor/order/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,6 @@ def __repr__(self):

class Invoice(models.Model):
order = models.ForeignKey(Order, null=True, on_delete=models.SET_NULL)
number = models.CharField(max_length=64)
number = models.CharField(max_length=255)
created = models.DateTimeField(auto_now_add=True)
url = models.URLField(max_length=256)
url = models.URLField(max_length=2048)

0 comments on commit c4e3e29

Please sign in to comment.