Actions
Issue #6665
closedmakemigrations generates a new migration for sum_type in advisories
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
There are no changes in the code for the model since 3.3.0 and the migration for the field exists. For some reason, django generates a new migration. Probably there is a difference between model definition and the existing migration.
class Migration(migrations.Migration):
dependencies = [
('rpm', '0009_auto_20200506_1338'),
]
operations = [
migrations.AlterField(
model_name='updatecollectionpackage',
name='sum_type',
field=models.PositiveIntegerField(choices=[(0, 0), (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7)], null=True),
),
]
Updated by pulpbot over 4 years ago
- Status changed from NEW to POST
Added by ttereshc over 4 years ago
Updated by ttereshc over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset 8530e6e2c1c4105b2a7c6b74ac5b44dfca1ec43c.
Added by ttereshc over 4 years ago
Revision 0c4109b7 | View on GitHub
Make model definition match the db state
closes #6665 https://pulp.plan.io/issues/6665
(cherry picked from commit 8530e6e2c1c4105b2a7c6b74ac5b44dfca1ec43c)
Updated by ttereshc over 4 years ago
Applied in changeset 0c4109b7c3b5828ddcc6e32f4e52780282775036.
Updated by ttereshc over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
- Sprint/Milestone set to Pulp RPM 3.3.1
Actions
Make model definition match the db state
closes #6665 https://pulp.plan.io/issues/6665