Skip to content

Commit 6a6c070

Browse files
committed
Fix phone db size
1 parent 9627d74 commit 6a6c070

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.2.13 on 2023-01-04 15:37
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('organizations', '0013_organization_phone'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='organization',
15+
name='phone',
16+
field=models.CharField(blank=True, max_length=32),
17+
),
18+
]

apps/organizations/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Organization(models.Model):
2424
registration_date = models.DateField(blank=True, null=True)
2525
registration_number = models.CharField(max_length=50, blank=True)
2626
paypal_username = models.CharField(max_length=50, blank=True)
27-
phone = models.CharField(max_length=16, blank=True)
27+
phone = models.CharField(max_length=32, blank=True)
2828

2929
@classmethod
3030
def load_main_organization(cls):

0 commit comments

Comments
 (0)