drops and recreates the repository upwards to match model definitions
@param [Symbol] name repository to act on, :default is the default
@api public
# File lib/dm-migrations/auto_migration.rb, line 21 def auto_migrate!(repository_name = nil) repository_execute(:auto_migrate!, repository_name) end
@api public
# File lib/dm-migrations/auto_migration.rb, line 26 def auto_upgrade!(repository_name = nil) repository_execute(:auto_upgrade!, repository_name) end
destructively migrates the repository upwards to match model definitions
@param [Symbol] name repository to act on, :default is the default
@api public
# File lib/dm-migrations/auto_migration.rb, line 12 def migrate!(repository_name = nil) repository(repository_name).migrate! end
Generated with the Darkfish Rdoc Generator 2.