3 ms·
Hello, I'm the author. There are a whole variety of uses for tools like this, some of the most common: - Autogenerate migrations. A diff tool can (not always b
by djrobstep 5y ago
Hello, I'm the author. There are a whole variety of uses for tools like this, some of the most common:
- Autogenerate migrations. A diff tool can (not always but very often) generate the migration script you need automatically without reference a history of migration scripts.
- Test migrations and other changes. "OK, I've run my migration script - but does prod actually match my intended production state now?"
- Quickly iterating on database designs in local development. "Just added an int column to a table in my local dev database but i meant for it to be a bigint with a slightly different name - all I need to do is update my models and run sync again."