Dev Tools · 1h ago
Django dev builds custom ALTER command for Milvus vector database
A developer created a reusable Django management command to alter Milvus collection schemas before native support existed. The command creates a temp collection with the new schema, migrates data in batches, drops the old collection, and renames the temp one. It handles field additions with defaults and removals by omission, but does not support updating existing field values.
Meridian48 take
This is a practical workaround for a common pain point, but the lack of in-place schema changes means production migrations still require downtime proportional to data volume.
Read the full reporting
How I built a Milvus ALTER command in Django (before native support existed) →
DEV Community
milvusdjango