Skip to content

Instantly share code, notes, and snippets.

@torsday
Created January 27, 2015 17:56
Show Gist options
  • Save torsday/c1fa7626ed437153f585 to your computer and use it in GitHub Desktop.
Save torsday/c1fa7626ed437153f585 to your computer and use it in GitHub Desktop.
plato rake error 2015-01-27
=> There was an error building fixtures
=> #<ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "staffers" does not exist
LINE 5: WHERE a.attrelid = '"staffers"'::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 = '"staffers"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment