-
Notifications
You must be signed in to change notification settings - Fork 147
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
schema_migrations table name conflicts with ecto table #73
Comments
Yes, it's worth making the table name configurable to allow the same database to be used for both events and read model projections. As a temporary workaround Ecto allows you to rename its migration table in config.
|
Seems like this is already on the radar, and the workaround provided is fairly reasonable, but since I'm here about 8 months down the line, figured I'd mention I've also run into this issue. May be worth mentioning in the documentation somewhere? |
Yes, adding it to the documentation would be awesome. I ran into this issue this morning, and it took me some time to realise that there was a conflict with ecto. Thanks! |
As it has not been mentioned yet, but there is a recent commit 6b2bbfe which introduces support for ecto schemas. It is also fairly documented in master. So it is an easy way to prevent before mentioned issue. |
The
schema_migrations
table name introduced in v0.10.0 conflicts with the ecto tableschema_migrations
, yet it has different columns.This means you are unable to use the same database for eventstore and your phoenix app.
Is there some way we could change the table name to not conflict, or make it configurable?
Thanks
The text was updated successfully, but these errors were encountered: