We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f9d29 commit 3a41c80Copy full SHA for 3a41c80
lib/capistrano/tasks/db.rb
@@ -3,6 +3,15 @@
3
require_relative('../../db/load_helper.rb')
4
5
namespace :db do
6
+ desc "execute a mysql command local, remote or container host"
7
+ task :execute do
8
+ on roles(:db, :container_host) do |host|
9
+ ask(:tmp_cmd, "mysql command")
10
+ Helper.execute_db_command_autodetect fetch(:tmp_cmd)
11
+ end
12
13
+
14
15
desc "export a local, remote or remote container mysql db"
16
task :export do
17
on roles(:db, :container_host) do |host|
0 commit comments