Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions migrations/0009_company_email_address_pattern.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.1.6 on 2025-02-22 16:16

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('ifc_validation_models', '0008_company_legal_name'),
]

operations = [
migrations.AddField(
model_name='company',
name='email_address_pattern',
field=models.CharField(blank=True, help_text='Email address pattern(s) of the Company (optional).', max_length=1024, null=True, unique=True),
),
]
8 changes: 8 additions & 0 deletions models.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,14 @@ class Company(TimestampedBaseModel):
help_text="Legal name of the Company (optional)."
)

email_address_pattern = models.CharField(
max_length=1024,
null=True,
blank=True,
unique=True,
help_text="Email address pattern(s) of the Company (optional)."
)

class Meta:

db_table = "ifc_company"
Expand Down