Sha256: 0b0910135794632747b5e6c8524e9c1773dcab15c35fb5bc71eeb4f59d95cb31

Contents?: true

Size: 492 Bytes

Versions: 2

Compression:

Stored size: 492 Bytes

Contents

#
# CouchRest Migration Rake Tasks
#
# Use at own risk! These are not tested yet!
#
namespace :couchrest do

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

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


end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
couchrest_model-2.0.0.beta2 lib/tasks/migrations.rake
couchrest_model-2.0.0.beta lib/tasks/migrations.rake