Skip to content

Commit

Permalink
🗃️ [#4654] Rename the table for objects API group back to default
Browse files Browse the repository at this point in the history
Now that all migration tests are removed and migrations are squashed,
we should be able to perform this schema migration.
  • Loading branch information
sergei-maertens committed Jan 10, 2025
1 parent ed90d94 commit cae3716
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.2.17 on 2025-01-10 15:44

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("objects_api", "0004_alter_objectsapigroupconfig_objects_service_and_more"),
]

operations = [
migrations.AlterModelTable(
name="objectsapigroupconfig",
table=None,
),
]
4 changes: 0 additions & 4 deletions src/openforms/contrib/objects_api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@ class ObjectsAPIGroupConfig(models.Model):
)

class Meta:
# TODO
# Remove db_table when squashing migrations has been completed.
# Related to github issue #4654
db_table = "registrations_objects_api_objectsapigroupconfig"
verbose_name = _("Objects API group")
verbose_name_plural = _("Objects API groups")
constraints = [
Expand Down

0 comments on commit cae3716

Please sign in to comment.