-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#4330] Add unique constraint to group configs names
- Loading branch information
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...rms/registrations/contrib/objects_api/migrations/0021_alter_objectsapigroupconfig_name.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,23 @@ | ||
# Generated by Django 4.2.11 on 2024-07-17 10:57 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("registrations_objects_api", "0020_objecttype_url_to_uuid"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="objectsapigroupconfig", | ||
name="name", | ||
field=models.CharField( | ||
help_text="A recognisable name for this set of Objects APIs.", | ||
max_length=255, | ||
unique=True, | ||
verbose_name="name", | ||
), | ||
), | ||
] |
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
23 changes: 23 additions & 0 deletions
23
src/openforms/registrations/contrib/zgw_apis/migrations/0014_alter_zgwapigroupconfig_name.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,23 @@ | ||
# Generated by Django 4.2.11 on 2024-07-17 10:57 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("zgw_apis", "0013_set_zgw_api_group"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="zgwapigroupconfig", | ||
name="name", | ||
field=models.CharField( | ||
help_text="A recognisable name for this set of ZGW APIs.", | ||
max_length=255, | ||
unique=True, | ||
verbose_name="name", | ||
), | ||
), | ||
] |
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