Changes between Initial Version and Version 3 of Ticket #31826
- Timestamp:
- Jul 25, 2020, 8:54:44 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31826
- Property Owner changed from to
- Property Status new → assigned
-
Ticket #31826 – Description
initial v3 1 When I change: `pink = models.Integer(default=0)` to `pink = models.Integer(default=0, db_column="pink")` the migration can recreate constraints if it is an FK or even reconstruct the table (SQLite).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 2 3 3 The (same) constraint drop/create is a blocking operation for PostgreSQL, so it is an undesirable and unexpected behavior.