Skip to content

Commit e350423

Browse files
committed
add note about migration fix
1 parent 1f14f5b commit e350423

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

backend/apps/account/migrations/0025_role_description_en_role_description_es_and_more.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# -*- coding: utf-8 -*-
2+
# ruff: noqa
23
# Generated by Django 4.2.26 on 2025-11-27 15:13
34

5+
# NOTE: This migration was created automatically by the modeltranslation extension on 2025-02-04 but was not committed.
6+
# Because our start-server.sh runs the makemigrations command, the migration file was created directly in the production
7+
# pod and applied as 0021. This created divergences between our migration files in the repository and the actual state of
8+
# the production database. We fixed this on December 17, 2025 by:
9+
# 1. Deleting the original 0021 migration entry from the django_migrations table
10+
# 2. Creating this migration file with the correct sequence number (0025)
11+
# 3. Running a fake migration to register 0025 in django_migrations without re-executing the SQL
12+
413
from django.db import migrations, models
514

615

0 commit comments

Comments
 (0)