chore(src/accounts): refactor migration dependencies and index formatting
Update dependencies and AddIndex formatting to improve consistency and readability.
This commit is contained in:
1 file changed
+8
-7
@@ -4,19 +4,20 @@ from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('accounts', '0001_initial'),
|
||||
('auth', '0012_alter_user_first_name_max_length'),
|
||||
("accounts", "0001_initial"),
|
||||
("auth", "0012_alter_user_first_name_max_length"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddIndex(
|
||||
model_name='setting',
|
||||
index=models.Index(fields=['user', 'group'], name='settings_user_id_ab191f_idx'),
|
||||
model_name="setting",
|
||||
index=models.Index(
|
||||
fields=["user", "group"], name="settings_user_id_ab191f_idx"
|
||||
),
|
||||
),
|
||||
migrations.AddIndex(
|
||||
model_name='user',
|
||||
index=models.Index(fields=['role'], name='users_role_0ace22_idx'),
|
||||
model_name="user",
|
||||
index=models.Index(fields=["role"], name="users_role_0ace22_idx"),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user