Skip to content

Commit

Permalink
Issue #519: Back to using sql:query and decompress the file before im…
Browse files Browse the repository at this point in the history
…port.
  • Loading branch information
alexanderpatriciop committed Jul 17, 2024
1 parent 41a86fe commit 89ac353
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/drupal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ tasks:
- echo "🚮 Dropping existing database"
- ./vendor/bin/drush {{ .site }} sql:drop --yes
- echo "📰 Importing database"
- gunzip < $DB_DIR/db.sql.gz | ./vendor/bin/drush {{ .site }} sql:cli
- gunzip -k $DB_DIR/db.sql.gz
- ./vendor/bin/drush {{ .site }} sql:query --file=$DB_DIR/db.sql
- defer: rm -f $DB_DIR/db.sql
export-db:
desc: "Exports a database fetched with a *:fetch-db command"
Expand Down

0 comments on commit 89ac353

Please sign in to comment.