Skip to content

Commit 197348f

Browse files
committed
refactor(migrations): remove deprecated RBAC migrations and reintroduce user contact info UI with Tailwind support
1 parent 40d807e commit 197348f

5 files changed

Lines changed: 21 additions & 3 deletions

dojo/db_migrations/0265_usercontactinfo_ui_use_tailwind.py renamed to dojo/db_migrations/0267_usercontactinfo_ui_use_tailwind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class Migration(migrations.Migration):
77

88
dependencies = [
9-
('dojo', '0264_alter_url_identity_hash_alter_urlevent_identity_hash'),
9+
('dojo', '0266_remove_credential_manager'),
1010
]
1111

1212
operations = [

dojo/db_migrations/0266_reintroduce_authorized_users.py renamed to dojo/db_migrations/0268_reintroduce_authorized_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class Migration(migrations.Migration):
77

88
dependencies = [
9-
('dojo', '0265_usercontactinfo_ui_use_tailwind'),
9+
('dojo', '0267_usercontactinfo_ui_use_tailwind'),
1010
]
1111

1212
operations = [
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 5.2.13 on 2026-04-28 20:10
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('dojo', '0266_remove_credential_manager'),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name='usercontactinfo',
15+
name='ui_use_tailwind',
16+
field=models.BooleanField(default=False, help_text='Opt in to the new Tailwind-based UI. Leave off for the classic UI.', verbose_name='Use new UI (beta)'),
17+
),
18+
]

dojo/db_migrations/0267_backfill_authorized_users.py renamed to dojo/db_migrations/0269_backfill_authorized_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def reverse_noop(apps, schema_editor):
124124
class Migration(migrations.Migration):
125125

126126
dependencies = [
127-
("dojo", "0266_reintroduce_authorized_users"),
127+
("dojo", "0268_reintroduce_authorized_users"),
128128
]
129129

130130
operations = [
File renamed without changes.

0 commit comments

Comments
 (0)