Skip to content

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


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.

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