It's possible to delete a row in heroku postgresql?

database, django-forms, django-models, heroku, postgresql

Solution

you can use the heroku cli with `heroku pg:psql` to connect directly to your PG instance and then issue and SQL commands you want to. Alternatively use a GUI connected to the database (info in the DATABASE_URL config key from `heroku config`) and do it from there.

Problem

I have a little problem here, I have a django app, that, somehow, in production DB created a row in a table that doesn't exists, with the same name as other row that does exists, ok, this might sound strange, but my question in really simple: I have a DB in heroku that I can't delete, and I want to delete a single row of a table, or even that table (and only that one), but I don't know how to do it. How can I do it?

Original source