Then run migrate. A database that never applied 0034_waitlistentry can migrate as usual.
Test plan
chat_backend.tests.test_migration_graph asserts a single leaf and the new parent.
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.
## 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`.
0034_waitlistentry and 0034_customuser_use_conversation_context both depended on 0033, so the graph had two leaves. Waitlist is now 0035 and depends on the customuser migration.
Closes#76
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
0034_waitlistentryand0034_customuser_use_conversation_contextboth depended on0033_agentrun_agentstep, so the graph had two leaves.0035_waitlistentryand depends on0034_customuser_use_conversation_context. One leaf:0035_waitlistentry.Deploy note
If
django_migrationsalready has a row named0034_waitlistentry, rename it before migrate:Then run migrate. A database that never applied
0034_waitlistentrycan migrate as usual.Test plan
chat_backend.tests.test_migration_graphasserts a single leaf and the new parent.chat_backend.tests.test_public_marketingstill passes.migrate, and confirm noInconsistentMigrationHistory.