postgresql-simple-migration
postgresql-simple-migration copied to clipboard
Implement log redirection interface
Relates to #34 (satisfies second part).
- Adds alternative
runMigrationAandrunMigrationsAfunctions with additional argument of typeEither Text Text -> IO ()whereLeftis an error message andRightis an info message - By default sends error messages to
stderrinstead ofstdout - Usage info in
migrateexecutable is printed tostderrinstead ofstdoutin case arguments are incorrect and executable exits with error exit code
This is the second attempt to implement the feature after #35
What's the status of this PR? Does anyone need any help?
@pjones We’re just waiting for maintainer’s feedback.
If you ask me it’s ready to go.
@ameingast Let’s ping the maintainer in case he missed or didn’t receive a notification.