This commit is contained in:
Marko
2025-07-17 18:43:41 +02:00
parent 5461d4be67
commit 24dd57cb18
58 changed files with 1731 additions and 830 deletions

11
.ddev/.global_commands/db/mysql Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
## #ddev-generated
## Description: run mysql client in db container
## Usage: mysql [flags] [args]
## Example: "ddev mysql" or "ddev mysql -uroot -proot" or "echo 'SHOW TABLES;' | ddev mysql"
## `ddev mysql --database=mysql -uroot -proot` gets you to the 'mysql' database with root privileges
## DBTypes: mysql,mariadb
## ExecRaw: true
mysql -udb -pdb "$@"

10
.ddev/.global_commands/db/psql Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
#ddev-generated
## Description: run pgsql client in db container
## Usage: psql [flags] [args]
## Example: "ddev psql" or "ddev psql -U db somedb" or "echo 'SELECT current_database();' | ddev psql"
## DBTypes: postgres
## ExecRaw: true
psql "$@"