Skip to content

Commit

Permalink
[#233] Update migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmursa-dev committed Jan 15, 2025
1 parent 1fc6a71 commit 516a409
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Generated by Django 4.2.15 on 2025-01-15 15:17

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("klantinteracties", "0024_alter_digitaaladres_is_standaard_adres"),
]

operations = [
migrations.AlterField(
model_name="partijidentificator",
name="partij_identificator_code_objecttype",
field=models.CharField(
blank=True,
choices=[
("natuurlijk_persoon", "NatuurlijkPersoon"),
("niet_natuurlijk_persoon", "NietNatuurlijkPersoon"),
("vestiging", "Vestiging"),
("overig", "Overig"),
],
help_text="Type van het object, bijvoorbeeld: 'natuurlijk_persoon'.",
max_length=200,
verbose_name="objecttype",
),
),
migrations.AlterField(
model_name="partijidentificator",
name="partij_identificator_code_register",
field=models.CharField(
blank=True,
choices=[("brp", "BRP"), ("hr", "HR"), ("overig", "Overig")],
help_text="Binnen het landschap van registers unieke omschrijving van het register waarin het object is geregistreerd, bijvoorbeeld: 'BRP'.",
max_length=200,
verbose_name="register",
),
),
migrations.AlterField(
model_name="partijidentificator",
name="partij_identificator_code_soort_object_id",
field=models.CharField(
blank=True,
choices=[
("bsn", "Bsn"),
("vestigingsnummer", "Vestigingsnummer"),
("kvk_nummer", "KvkNummer"),
("rsin", "Rsin"),
("overig", "Overig"),
],
help_text="Naam van de eigenschap die het object identificeert, bijvoorbeeld: 'bsn'.",
max_length=200,
verbose_name="soort object ID",
),
),
]
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ class PartijIdentificator(models.Model):
help_text=_(
"Waarde van de eigenschap die het object identificeert, bijvoorbeeld: '123456788'."
),
validators=[validate_integer],
max_length=200,
blank=True,
)
Expand Down

0 comments on commit 516a409

Please sign in to comment.