I want to load schema from structure.sql file to Heroku's database. On
my localhost machine I do as follows and all works just fine, all tables
are created:

> C:\> psql -U postgres -a -d MyApp_development -f C:\MyApp\db\structure.sql

But when I want to perform the same task on Heroku, it suddenly says !
App not found, although I provide all correct commands and data.

First of all, I get my credentials:
> C:\Heroku\MyApp>heroku pg:credentials DATABASE

Then I do copy/paste credentials and run the command but get App not
found:
> C:\Heroku\MyApp>heroku pg:psql DATABASE -U vmh... -a -d dc... -f
> "C:\MyApp\db\structure.sql"
>  !    App not found

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5c4b6eb8fddc057954e296b4840e7b77%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to