Module | DataMapper::AutoMigrations |
In: |
lib/dm-core/auto_migrations.rb
|
Destructively automigrates the data-store to match the model REPEAT: THIS IS DESTRUCTIVE
@param Symbol repository_name the repository to be migrated
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