Skip to content

Commit

Permalink
Rename app by changing the app label
Browse files Browse the repository at this point in the history
The new package app label conflicts with this one, so we have
to update this package app label and then next run an SQL
update to doctor the migrations that were already
executed.
  • Loading branch information
sergei-maertens committed Jul 5, 2024
1 parent a883f5d commit b0e95e6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/digid_eherkenning_oidc_generics/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
class DigiDeHerkenningOIDCAppConfig(AppConfig):
name = "digid_eherkenning_oidc_generics"
verbose_name = _("DigiD & eHerkenning via OpenID Connect")
# label = "digid_eherkenning_oidc_generics_legacy"
label = "digid_eherkenning_oidc_generics_legacy"
12 changes: 7 additions & 5 deletions src/digid_eherkenning_oidc_generics/migrations/0001_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,24 @@

# Generated by Django 4.2.11 on 2024-07-05 21:21

import digid_eherkenning_oidc_generics.models
from django.db import migrations, models

import django_jsonform.models.fields

import digid_eherkenning_oidc_generics.models


class Migration(migrations.Migration):

replaces = [
("digid_eherkenning_oidc_generics", "0001_initial"),
("digid_eherkenning_oidc_generics", "0002_auto_20240109_1055"),
("digid_eherkenning_oidc_generics_legacy", "0001_initial"),
("digid_eherkenning_oidc_generics_legacy", "0002_auto_20240109_1055"),
(
"digid_eherkenning_oidc_generics",
"digid_eherkenning_oidc_generics_legacy",
"0003_alter_openidconnectdigidconfig_oidc_exempt_urls_and_more",
),
(
"digid_eherkenning_oidc_generics",
"digid_eherkenning_oidc_generics_legacy",
"0004_alter_openidconnectdigidconfig_table_and_more",
),
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Migration(migrations.Migration):

dependencies = [
("digid_eherkenning_oidc_generics", "0001_initial"),
("digid_eherkenning_oidc_generics_legacy", "0001_initial"),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Generated by Django 4.2.10 on 2024-03-11 16:12

from django.db import migrations, models

import django_jsonform.models.fields


class Migration(migrations.Migration):

dependencies = [
("digid_eherkenning_oidc_generics", "0002_auto_20240109_1055"),
("digid_eherkenning_oidc_generics_legacy", "0002_auto_20240109_1055"),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Migration(migrations.Migration):

dependencies = [
(
"digid_eherkenning_oidc_generics",
"digid_eherkenning_oidc_generics_legacy",
"0003_alter_openidconnectdigidconfig_oidc_exempt_urls_and_more",
),
]
Expand Down

0 comments on commit b0e95e6

Please sign in to comment.