Files
chat_backend/llm_be
westfarn bb5c43a4e7
Unit Tests / test (push) Successful in 9s
Deploy Beta / unit-tests (push) Successful in 9s
Deploy Beta / docker (push) Successful in 22s
Deploy Beta / deploy-beta (push) Successful in 1m8s
Make chat_backend migrations a single chain (#77)
## Summary
- Closes #76.
- `0034_waitlistentry` and `0034_customuser_use_conversation_context` both depended on `0033_agentrun_agentstep`, so the graph had two leaves.
- Waitlist is now `0035_waitlistentry` and depends on `0034_customuser_use_conversation_context`. One leaf: `0035_waitlistentry`.

## Deploy note
If `django_migrations` already has a row named `0034_waitlistentry`, rename it before migrate:

```sql
UPDATE django_migrations
SET name = '0035_waitlistentry'
WHERE app = 'chat_backend' AND name = '0034_waitlistentry';
```

Then run migrate. A database that never applied `0034_waitlistentry` can migrate as usual.

## Test plan
- [x] `chat_backend.tests.test_migration_graph` asserts a single leaf and the new parent.
- [x] `chat_backend.tests.test_public_marketing` still passes.
- [ ] On a database that already applied both 0034 siblings, run the rename SQL, then `migrate`, and confirm no `InconsistentMigrationHistory`.

Reviewed-on: #77
2026-10-19 01:08:54 -07:00
..
2025-03-07 12:23:00 -06:00
2025-12-08 13:52:30 -06:00
2025-03-07 12:23:00 -06:00