Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The structure for Example.Repo couldn't be dumped #1404

Closed
kyledecot opened this issue Apr 28, 2016 · 0 comments
Closed

The structure for Example.Repo couldn't be dumped #1404

kyledecot opened this issue Apr 28, 2016 · 0 comments

Comments

@kyledecot
Copy link
Contributor

kyledecot commented Apr 28, 2016

  • Elixir version (elixir -v): 1.2.4
  • Database and version: PostgreSQL 9.5.2
  • Ecto version (mix deps): 2.0.0-rc.3
  • Operating system: OS X 10.11.4

When creating a new mix project w/ Ecto 2.0.0-rc.3 and running mix ecto.dump I receive:

** (Mix) The structure for Example.Repo couldn't be dumped: pg_dump: [archiver] could not open output file "/Users/kyledecot/Desktop/example/_build/dev/lib/example/priv/repo/structure.sql": No such file or directory

It would appear as if ecto is assuming that I'm in a phoenix project and attempting to put it in a priv directory which doesn't exist in my case. I realize that I could just pass the -d flag and specify a path myself but it seems incorrect for it to assume that I'm using phoenix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants