Sha256: c796cc80d89128fac373460804ec45652a4bdf48af238e00656673884d1f2d15

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

namespace :db do
  namespace :paraphrase do
    
    desc 'provides a rake task to convert all migrations to sql statements for *the dba*.'
    task :all => :environment do
      Paraphraser::Convertor.convert
    end

    desc 'provides a rake task to convert all migrations in range to sql statements for *the dba*.'
    task :in_range, :from_version, :to_version => :environment do
      Paraphraser::Convertor.convert
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paraphraser-0.2.1 lib/paraphraser/railties/paraphraser.rake