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

Methods

Public Class methods

TODO: document @api private

Public Instance methods

Destructively automigrates the data-store to match the model REPEAT: THIS IS DESTRUCTIVE

@param Symbol repository_name the repository to be migrated

@api public

Destructively migrates the data-store down, which basically deletes all the models. REPEAT: THIS IS DESTRUCTIVE

@param Symbol repository_name the repository to be migrated

@api private

Auto migrates the data-store to match the model

@param Symbol repository_name the repository to be migrated

@api private

Safely migrates the data-store to match the model preserving data already in the data-store

@param Symbol repository_name the repository to be migrated

@api public

[Validate]