ruby on rails - Heroku Postgres Error: PGError: ERROR: relation "organizations" does not exist (ActiveRecord::StatementInvalid) -
/ P>
PGError: Error: The relationship "organizations" does not exist (ActiveRecord :: StatementInvalid)
SELECT a.attname, format_type ( A.atttypid, A.atttypmod), d.adsrc, a.attnotnull, FROM pg_attribute, a lower addition at pg_attrdef d on a .attrelid = d.adrelid and a.attnum = d.adnum where a.attrelid = '"organization"': : :: regclass and A.attnum & gt; 0 and not a.attisdropped by ORDER a.attnumAnyone have any ideas? This is the first thing for me, especially because I'm working on the second app with everyone, and have not seen anything like this. Of course, everything works on local SQLite
- Any Thanks in advance for the help!
- Mark
I had the same problem to solve it, the database It's easier to reset.
The migration was done successfully for my case :) While this is a good solution in this context, do not do it on production. This will delete all records from your database
Comments
Post a Comment