Sha256: 7f48e1b54ad3321e25a01019e487fa44395a8a1e229f048b4a46b1778abe870a

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

require "rake"

namespace :pghero do
  desc "capture query stats"
  task capture_query_stats: :environment do
    PgHero.capture_query_stats
  end

  desc "autoindex"
  task autoindex: :environment do
    PgHero.autoindex_all(create: true)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pghero-1.2.2 lib/pghero/tasks.rb
pghero-1.2.1 lib/pghero/tasks.rb
pghero-1.2.0 lib/pghero/tasks.rb