Skip to content

Phoenix 1.4 Upgrade - #397

Open
spinlock99 wants to merge 3 commits into
smpallen99:masterfrom
spinlock99:phoenix1.4
Open

Phoenix 1.4 Upgrade#397
spinlock99 wants to merge 3 commits into
smpallen99:masterfrom
spinlock99:phoenix1.4

Conversation

@spinlock99

Copy link
Copy Markdown

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").


defp migrations_path(repo) do
"priv/repo/migrations/"
end

Copy link
Copy Markdown
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.

defp gen_trackable_migration(config), do: config

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

Copy link
Copy Markdown
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