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

Add fine-grained migration APIs #466

Closed
raymondfeng opened this issue Feb 23, 2015 · 5 comments
Closed

Add fine-grained migration APIs #466

raymondfeng opened this issue Feb 23, 2015 · 5 comments

Comments

@raymondfeng
Copy link
Contributor

LB supports automigrate and autoupdate today. It will be useful to expose more fine-grained apis so that application developers can have better control of the process.

@faridnsh
Copy link
Contributor

I'm also using postgres and I would love the following functionalities in autoupdate(Of course all optional):

It'd be nice if there would a flag for each of these functionalities.

@laurentdesmet
Copy link

+1 for this feature because now autoupdate can lead to dataloss because columns can be removed as mentioned above (issue strongloop/loopback#1942). Maybe the documentation should be updated because now this page states

When tables with data exist, use auto-update to avoid data loss.

which is a dangerous statement to make because autoupdate can actually remove data.

@e-part
Copy link

e-part commented Jul 21, 2016

+1 - It would be great if I can see a SQL which shows only the changes made to the DB
before deciding whether it's safe to run it.

@stale
Copy link

stale bot commented Aug 23, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot closed this as completed Sep 6, 2017
@stale
Copy link

stale bot commented Sep 6, 2017

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants