I am working with Postgres on a Django app and I want to make a model change, resetting a row so it is no longer the primary key.
This is what my model currently lo
Try to use an intermediate migration to achieve this:
1) Add id = models.IntegerField() to your model. Run makemigrations and then migrate.
id = models.IntegerField()
2) Remove primary_key=True from the 'row'-field, and also remove the 'id'-field. Again run makemigrations and migrate.