Module DataMapper::Migrations::Repository
In: lib/dm-migrations/auto_migration.rb

Methods

Public Instance methods

Destructively automigrates the data-store to match the model. First migrates all models down and then up. REPEAT: THIS IS DESTRUCTIVE

@api public

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

@api public

Determine whether a particular named storage exists in this repository

@param [String]

  storage_name name of the storage to test for

@return [Boolean]

  true if the data-store +storage_name+ exists

@api semipublic

[Validate]