Module: DataMapper::Migrations::SingletonMethods

Module | DataMapper::Migrations::SingletonMethods
In: | lib/dm-core/migrations.rb

### Methods

auto_migrate! auto_upgrade! migrate!

### Public Instance methods

auto_migrate!(repository_name = nil)

drops and recreates the repository upwards to match model definitions

@param [Symbol] name repository to act on, :default is the default

@api public

auto_upgrade!(repository_name = nil)

TODO: document @api public

migrate!(repository_name = nil)

destructively migrates the repository upwards to match model definitions

@param [Symbol] name repository to act on, :default is the default

@api public

[Validate]