Skip to content

Commit

Permalink
ddev drush should be available for drupal10 (#3655)
Browse files Browse the repository at this point in the history
* ddev drush should be available for drupal10
* Put set -x more appropriately in ddev sequelace and ddev tableplus
  • Loading branch information
rfay committed Mar 4, 2022
1 parent 8feb453 commit 47c3121
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/ddevapp/global_dotddev_assets/commands/host/sequelace
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
## OSTypes: darwin
## HostBinaryExists: /Applications/Sequel ace.app

set -x
query="mysql://root:root@127.0.0.1:${DDEV_HOST_DB_PORT}/db"

set -x
open "$query" -a "/Applications/Sequel Ace.app/Contents/MacOS/Sequel Ace"

2 changes: 1 addition & 1 deletion pkg/ddevapp/global_dotddev_assets/commands/host/tableplus
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
## OSTypes: darwin
## HostBinaryExists: /Applications/TablePlus.app

set -x
dbtype=${DDEV_DBIMAGE%:*}
driver=mysql
if [[ $dbtype == "postgres" ]]; then
driver=$dbtype
fi
query="${driver}://db:db@127.0.0.1:${DDEV_HOST_DB_PORT}/db"

set -x
open "$query" -a "/Applications/TablePlus.app/Contents/MacOS/TablePlus"

2 changes: 1 addition & 1 deletion pkg/ddevapp/global_dotddev_assets/commands/web/drush
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Description: Run drush CLI inside the web container
## Usage: drush [flags] [args]
## Example: "ddev drush uli" or "ddev drush sql-cli" or "ddev drush --version"
## ProjectTypes: drupal7,drupal8,drupal9,backdrop
## ProjectTypes: drupal7,drupal8,drupal9,drupal10,backdrop
## ExecRaw: true

if ! command -v drush >/dev/null; then
Expand Down

0 comments on commit 47c3121

Please sign in to comment.