-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6bf4398
commit cc4c101
Showing
2 changed files
with
154 additions
and
6 deletions.
There are no files selected for viewing
154 changes: 154 additions & 0 deletions
154
...components/klantinteracties/migrations/0022_partijidentificatorcodeobjecttype_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
# Generated by Django 4.2.15 on 2024-11-18 14:46 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import uuid | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("klantinteracties", "0021_alter_digitaaladres_betrokkene"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="PartijIdentificatorCodeObjectType", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("uuid", models.UUIDField(default=uuid.uuid4, unique=True)), | ||
( | ||
"object_type", | ||
models.CharField( | ||
blank=True, | ||
help_text="Object type", | ||
max_length=255, | ||
verbose_name="Object type", | ||
), | ||
), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name="PartijIdentificatorCodeRegister", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("uuid", models.UUIDField(default=uuid.uuid4, unique=True)), | ||
( | ||
"register", | ||
models.CharField( | ||
blank=True, max_length=50, verbose_name="register" | ||
), | ||
), | ||
( | ||
"naam", | ||
models.CharField( | ||
blank=True, | ||
help_text="Naam register", | ||
max_length=80, | ||
verbose_name="naam", | ||
), | ||
), | ||
], | ||
), | ||
migrations.AlterField( | ||
model_name="partijidentificator", | ||
name="partij_identificator_object_id", | ||
field=models.CharField( | ||
help_text="Waarde van de eigenschap die het object identificeert, bijvoorbeeld: '123456788'.", | ||
null=True, | ||
verbose_name="object ID", | ||
), | ||
), | ||
migrations.CreateModel( | ||
name="PartijIdentificatorCodeSoortObjectId", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("uuid", models.UUIDField(default=uuid.uuid4, unique=True)), | ||
( | ||
"soort_object_id", | ||
models.CharField( | ||
blank=True, | ||
help_text="Soort object id", | ||
max_length=255, | ||
verbose_name="Soort object id", | ||
), | ||
), | ||
( | ||
"object_type", | ||
models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="klantinteracties.partijidentificatorcodeobjecttype", | ||
), | ||
), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name="partijidentificatorcodeobjecttype", | ||
name="register", | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="klantinteracties.partijidentificatorcoderegister", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="partijidentificator", | ||
name="partij_identificator_code_objecttype", | ||
field=models.ForeignKey( | ||
help_text="Type van het object, bijvoorbeeld: 'INGESCHREVEN NATUURLIJK PERSOON'.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="klantinteracties.partijidentificatorcodeobjecttype", | ||
verbose_name="objecttype", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="partijidentificator", | ||
name="partij_identificator_code_register", | ||
field=models.ForeignKey( | ||
help_text="Binnen het landschap van registers unieke omschrijving van het register waarin het object is geregistreerd, bijvoorbeeld: 'BRP'.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="klantinteracties.partijidentificatorcoderegister", | ||
verbose_name="code register", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="partijidentificator", | ||
name="partij_identificator_code_soort_object_id", | ||
field=models.ForeignKey( | ||
help_text="Naam van de eigenschap die het object identificeert, bijvoorbeeld: 'Burgerservicenummer'.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="klantinteracties.partijidentificatorcodesoortobjectid", | ||
verbose_name="soort object id", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters