Skip to content

Instantly share code, notes, and snippets.

Jeremy Hunt Ducain

Block or report user

Report or block Ducain

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Ducain / capfile_for_phinx.rb
Last active Jun 13, 2017
Capistrano 3 running Phinx migrations on Windows server
View capfile_for_phinx.rb
after "deploy:updating", "deploy:phinx_migrations"
namespace :deploy do
task :restart do ; end
desc 'Run Phinx migrations'
task :phinx_migrations do
on roles(:app) do
within release_path do
execute 'php', 'vendor/robmorgan/phinx/bin/phinx', 'migrate', '-e', 'production', raise_on_non_zero_exit: false
You can’t perform that action at this time.