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

Phoenix 1.4 Upgrade #397

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

spinlock99
Copy link

DO NOT MERGE

This is a work in progress and is working well so far. The big issue is that Routes is not defined in the Coherence templates. I'd appreciate any help on getting this PR into good shape.

Done:

  • Updated Ecto to EctoSql 3.0

To Do:

  • Routes is not available in the Coherence templates. Need to figure out why to use path helpers rather than strings (e.g. sessions_path/2 vs. "/sessions").

@@ -304,6 +304,10 @@ defmodule Mix.Tasks.Coh.Clean do

defp remove!(config, _), do: config

defp migrations_path(repo) do
"priv/repo/migrations/"
end
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were errors running mix test re: migrations_path/1 being undefined. So, I added these embarrassing hacks to see if the tests would pass :)

The tests do pass now but it seems like there should be a better solution for migrations_path/1 being undefined.

@@ -666,6 +666,8 @@ defmodule Mix.Tasks.Coh.Install do

defp gen_trackable_migration(config), do: config

defp migrations_path(repo), do: "priv/repo/migrations/"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

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

Successfully merging this pull request may close these issues.

1 participant