Project

General

Profile

Actions

Bug #10802

closed

relation "users" does not exist present when migrating

Added by Eric Helms almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When running db:migrate, the following error is present:

<ActiveRecord::StatementInvalid> PG::UndefinedTable: ERROR:  relation "users" does not exist
LINE 5:              WHERE a.attrelid = '"users"'::regclass
                                        ^
:             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 = '"users"'::regclass
               AND a.attnum > 0 AND NOT a.attisdropped
             ORDER BY a.attnum


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #12225: TopbarSweeper should invalidate on plugin installation/removalClosedLukas Zapletal10/20/2015Actions
Actions

Also available in: Atom PDF