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

Migrations in the base template #46

Closed
kaievns opened this issue Apr 18, 2016 · 1 comment
Closed

Migrations in the base template #46

kaievns opened this issue Apr 18, 2016 · 1 comment

Comments

@kaievns
Copy link
Contributor

kaievns commented Apr 18, 2016

I don't think migrations should be a part of the base template. A lot of projects, especially in a microservices oriented architecture don't need migrations. So, I recon it should be a separate thing.

Also, do we really want a home grown migrations engine? It's a pretty delicate area, proper fail overs, rollbacks, and support of transactions is a must. I'd feel much easier about running migrations, especially in production, if we were using a battle tested solution.

Moreover, migrations solution for an SQL and NoSQL dbs might be quite different in their nature and would benefit from using context specific packages. I don't think the one size fits all is the best approach here

@davidbanham
Copy link
Contributor

I agree they should be a component rather than part of base. I think what we probably want is everything pretty decomposed, but then an alias that installs All The Things. I think by default you should get a full suite of things, but if you only want to install bits and pieces you can do it manually one-by-one.

I looked for an existing RethinkDB migration engine and couldn't find a good one, so I wrote this. It's not rocket science.

Also, Redbeard is tied to RethinkDB. We don't need to worry about migration strategies on SQL or other document stores since that's not a target.

The whole point of Redbeard is the realtime stuff, in my view. The use of JSON schemas as models, the admin UI and the other ecosystem stuff is also really nice, but it's the realtime stuff that's the killer feature.

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

No branches or pull requests

2 participants