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

Fix Windows database.Reset #215

Merged
merged 1 commit into from
Nov 17, 2019

Conversation

WithoutPants
Copy link
Collaborator

Added error return value to database.Reset(). Added close call to runMigrations. Adding this allowed the database file to be closed properly and the import to run successfully in Windows.

@bnkai
Copy link
Collaborator

bnkai commented Nov 17, 2019

The error was not present in linux but i can confirm it doesn't interfere with the import / export code ...

@Leopere Leopere added the bug Something isn't working label Nov 17, 2019
@Leopere Leopere self-requested a review November 17, 2019 21:39
Copy link
Collaborator

@Leopere Leopere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by bnkai and withoutpants

@Leopere Leopere merged commit 6dcb270 into stashapp:develop Nov 17, 2019
@WithoutPants
Copy link
Collaborator Author

Related to #206

@WithoutPants WithoutPants deleted the fix_windows_db_reset branch December 11, 2019 21:00
@WithoutPants WithoutPants mentioned this pull request Feb 4, 2020
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants