Sha256: 25c0698bfcce514eaccc7bb9322eb545293fdf1537b48aac4187c2782439466f

Contents?: true

Size: 542 Bytes

Versions: 5

Compression:

Stored size: 542 Bytes

Contents

#
# CouchRest Migration Rake Tasks
#
# See the CouchRest::Model::Utils::Migrate class for more details.
#
namespace :couchrest do

  desc "Migrate all the design docs found in each model"
  task :migrate => :environment do
    CouchRest::Model::Utils::Migrate.load_all_models
    CouchRest::Model::Utils::Migrate.all_models
  end

  desc "Migrate all the design docs "
  task :migrate_with_proxies => :environment do
    CouchRest::Model::Utils::Migrate.load_all_models
    CouchRest::Model::Utils::Migrate.all_models_and_proxies
  end


end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
couchrest_model-2.1.0.beta1 lib/tasks/migrations.rake
couchrest_model-2.0.4 lib/tasks/migrations.rake
couchrest_model-2.0.3 lib/tasks/migrations.rake
couchrest_model-2.0.1 lib/tasks/migrations.rake
couchrest_model-2.0.0 lib/tasks/migrations.rake