factorial-io / phabalicious

Supports your deployments and every-day devops-tasks
http://docs.phab.io
MIT License
18 stars 3 forks source link

Feature/database enhancements #208

Closed stmh closed 2 years ago

stmh commented 2 years ago

Adds dedicated commands for the new database methods:

The latter two command are working similar to the shell command and connects the user to a running mysql-client or print the command instead

Some smaller enhancements and bugfixes.

stmh commented 2 years ago

The last commit contains a change in how sql dumps are created to mimic drushs behavior better: the complete structure of all tables is exported, then the data of all tables which are not excluded. So that all tables will be created when imported..

stmh commented 2 years ago

thanks @mikran

Should be fixed now. Can you think on any circumstance where you want to have access to the database without that the application itself is running (be it via docke-compose or via k8s)? As we are always using part of the app as a jump host i cant think of a scenario here.

Would be great if you can retest it