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

Replace Dumped Dates/times In data.sql With An Epoch Value #10

Open
paulrrogers opened this issue Oct 4, 2019 · 0 comments
Open

Replace Dumped Dates/times In data.sql With An Epoch Value #10

paulrrogers opened this issue Oct 4, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@paulrrogers
Copy link
Contributor

paulrrogers commented Oct 4, 2019

Currently dumping data with schema may produce a data.sql file whose inserts vary only by the dates/times of when the migrations created the data. It would be nice to have an --epoch= option when dumping with data to replace those dumped dates-times with the provided value.

Possible solutions could be to manipulate the data in memory during the dump/export or temporarily update the data in a DB transaction beforehand. If there is no maintainable solution then it may be best to simply document the limitation in the README.md.

@paulrrogers paulrrogers added the enhancement New feature or request label Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant