Skip to content

Log applied migration id#40

Closed
tamalsaha wants to merge 1 commit intorubenv:masterfrom
appscode:master
Closed

Log applied migration id#40
tamalsaha wants to merge 1 commit intorubenv:masterfrom
appscode:master

Conversation

@tamalsaha
Copy link
Copy Markdown

No description provided.

@rubenv
Copy link
Copy Markdown
Owner

rubenv commented Sep 30, 2016

I won't merge this: sql-migrate can be used as a library, where log output may not be desired.

@rubenv rubenv closed this Sep 30, 2016
@tamalsaha
Copy link
Copy Markdown
Author

@rubenv, understood. We are using this as a lib. Having no logging was causing us to wonder when things failed. May there can be verbose option with default false to preserve current behavior.

@rubenv
Copy link
Copy Markdown
Owner

rubenv commented Sep 30, 2016

@tamalsaha What went wrong should be present in the error returned by Exec(), no?

@tamalsaha
Copy link
Copy Markdown
Author

In our case, nothing went wrong, but it was also doing nothing. Sort of got stuck. We don't know what happened yet.

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.

2 participants