Moving a working Rails app, cannot load schema -


this question seems relevant error below, not know how create troublesome 'categories' table manually. spell out how answerer proposes?

.../current$ bundle exec rake rails_env=production db:schema:load rake aborted! pgerror: error:  relation "categories" not exist line 5:              a.attrelid = '"categories"'::regclass                                         ^ :                 select a.attname, format_type(a.atttypid, a.atttypmod),                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod               pg_attribute left join pg_attrdef d                 on a.attrelid = d.adrelid , a.attnum = d.adnum              a.attrelid = '"categories"'::regclass                , a.attnum > 0 , not a.attisdropped              order a.attnum 

try rake db:migrate. maybe schema not updated.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -