Skip to content

Conversation

yvaucher
Copy link
Contributor

@yvaucher yvaucher commented Sep 6, 2023

Allow to set restore a cached DB and create a new one

If both LOAD_DB_CACHE (with a ceil version) and CREATE_DB_CACHE were set,
in case the directory containing cached DB is empty the CACHED_DUMP variable
was emptied and the script was unable to create a new dump.

It also prevent to rename the new cache dump with the previous dump name.

If both LOAD_DB_CACHE (with a ceil version) and CREATE_DB_CACHE were set,
in case the directory containing cached DB is empty the CACHED_DUMP variable
was emptied and the script was unable to create a new dump.
@yvaucher yvaucher changed the title Fix runmigration cached DB load n create Fix runmigration cached using DB load and create Sep 19, 2023
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.

1 participant