Sha256: 5d151669e82097c8175232b6adf6764842b36c12d17951a6c15ea596f56dd39b

Contents?: true

Size: 244 Bytes

Versions: 14

Compression:

Stored size: 244 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do

  define_recipe :automigrate do
    after 'deploy:finalize_update' do
      look_for_db_changes
      after("deploy:symlink_configs", "deploy:migrate") if db_changed?
    end
  end
  
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fdlcap-0.4.17 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.15 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.14 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.13 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.12 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.11 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.10 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.9 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.7 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.6 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.5 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.4 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.3 lib/fdlcap/recipes/automigrate.rb
fdlcap-0.4.2 lib/fdlcap/recipes/automigrate.rb