I am trying to rename a column in my database.
I did
heroku pg:psql
ALTER TABLE discounts_discount RENAME COLUMN percentagediscountm TO percentagediscount
And that had no impact. I looked on a few sites and to the best of my knowledge, what I wrote above should work.
I tried making the change using make migrations and migrate but then got this error.
django.core.exceptions.FieldDoesNotExist: discounts.discount has no field named 'percentagediscountm'
I am really trying to avoid having to drop my database or rolling back Heroku to an earlier build.