lib/db_vcs/manager.rb
# Drops databases of given branch name for all environments for all setup databases
# @param branch_name [String]
Drops databases of given branch name for all environments for all setup databases
Drops databases of given branch name for all environments for all setup databases
def drop_for_all_envs(branch_name)
        DbVcs.config.dbs_in_use.each do |adapter_name|
          inst = new(adapter_name)
          DbVcs.config.environments.each do |env|
            inst.drop(DbVcs::Utils.db_name(env, branch_name))
          end
        end
      end
def drop_for_all_envs ( branch_name ) DbVcs . config . dbs_in_use . each do | adapter_name | inst = new ( adapter_name ) DbVcs . config . environments . each do | env | inst . drop ( DbVcs :: Utils . db_name ( env , branch_name ) ) end end end
Drops databases of given branch name for all environments for all setup databases
Drops databases of given branch name for all environments for all setup databases
branch_name
<not_specific>
<not_specific>
None