I'm trying to change the value of a column "isGroup" to the value "public".
I created a migration:
Post.connection.execute("update Posts set isgroup='public'")
However, I get the following error:
PGError: ERROR: column "isgroup" of relation "posts" does not exist
I had unfortunately ran the column creating migration at the same time as the connection.execute migration. However, the "isGroup" column does exist on Heroku, so it is weird that the column is not showing as appearing.
Any advice?