> ActiveRecord::Base.descendants
PG::UndefinedTable: ERROR: relation "pg_hero_connections" does not exist
LINE 5: WHERE a.attrelid = '"pg_hero_connections"'::r...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"pg_hero_connections"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
(pry) output error: #<ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "pg_hero_connections" does not exist
LINE 5: WHERE a.attrelid = '"pg_hero_connections"'::r...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"pg_hero_connections"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
> PgHero::Connection
PG::UndefinedTable: ERROR: relation "pg_hero_connections" does not exist
LINE 5: WHERE a.attrelid = '"pg_hero_connections"'::r...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"pg_hero_connections"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
(pry) output error: #<ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "pg_hero_connections" does not exist
LINE 5: WHERE a.attrelid = '"pg_hero_connections"'::r...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"pg_hero_connections"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
>
Happens in dev and prod environment. Version is 0.1.7.