1 | | When I change: `pink = models.Integer(default=0)` to `pink = models.Integer(default=0, db_column="pink")` the migration recreate constraints if it is an FK or even reconstruct the table (SQLite), but nothing really changed. |
2 | | |
3 | | The (same) constraint drop/create is a blocking operation for PostgreSQL, so it is an undesirable and unexpected behavior. |
4 | | |
| 1 | When I change `pink = models.Integer(default=0)` to `pink = models.Integer(default=0, db_column="pink")` the migration drop/create the same constraints when it is an FK or even reconstruct the table (SQLite), but nothing really changed. The constraint drop/create is a blocking operation for PostgreSQL, so it is an undesirable and unexpected behavior. |