Skip to content

Commit

Permalink
chore: move used import files out of the sql folder when done
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-jw committed Sep 22, 2023
1 parent 0c17c8a commit b657524
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/import-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ docker exec -i sparkpress_db mysql --user=$MYSQL_USER --password=$MYSQL_PASSWORD

# clean up files that aren't useful after import
rm sql/db-import*

mkdir -p sql/previous-imports
mv sql/*.sql.gz sql/previous-imports

0 comments on commit b657524

Please sign in to comment.