-
Notifications
You must be signed in to change notification settings - Fork 149
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
Make event_store Mix task logic available independently of Mix #87
Comments
@uberbrodt how things are going with this? Are you thinking about implementing it? Some people commented on #22 that one idea would be to use Ecto as a backend. Since Ecto already has the concepts of migrations, this might solve the problem with the It should also be more straightforward to solve #73 and #76. This would also be great for testing since we could use My only concern with that is that this would increase the dependencies. |
@bamorim I think I will have time soon to look at this again and do a PR. One question I have, is do we need to be able to rollback migrations? Currently you can only go forward, which is probably fine, but I suppose there might be a case where rollback would be handy. |
@uberbrodt The migration scripts are created by hand, there's no support for rollback. Instead you'd need to take a backup of the database before migrating and restore the backup to go backwards. |
Distillery releases do not have
Mix
or the commandline toolmix
available. In order to better support this deployment option, it would be useful to have the functionality of the following tasks available without any Mix dependencies:event_store.create
event_store.drop
event_store.init
event_store.migrate
The text was updated successfully, but these errors were encountered: