module GhostSchema::Tasks::Enhancer
Public Instance Methods
enhance()
click to toggle source
# File lib/ghost_schema/tasks/enhancer.rb, line 6 def enhance task = Rake::Task['db:migrate'] task.enhance(['db:ghost:store_versions_before_migrations']) task.enhance do Rake::Task['db:ghost:copy_migrated_versions'].invoke end end