3 ms·
I didn't mean to use Django _and_ a separate migration tool. It's just that I did work with Django so far, but switching now to a new codebase without it. Hence
by steffres 3y ago
I didn't mean to use Django _and_ a separate migration tool. It's just that I did work with Django so far, but switching now to a new codebase without it. Hence my question for experiences in DB migration.
- azlev 3y agoAt work we use Django migrations. It helps. But the core of schema evolution is backward compatibility. To reach this goal, code review is necessary. Here we never drop columns, only add new colunms, also never change column types. When it comes to constraints (not null or something else) we double check about backwards compatibility. Changing data is not a robust rollback.