Sha256: a35eff28cdbba9ad4cd7cb642cd9747f8e352973c0d2714ad7eb6c57238e50b1

Contents?: true

Size: 345 Bytes

Versions: 10

Compression:

Stored size: 345 Bytes

Contents

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

  desc "capture space stats"
  task capture_space_stats: :environment do
    PgHero.capture_space_stats
  end

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pghero-1.6.5 lib/tasks/pghero.rake
pghero-1.6.4 lib/tasks/pghero.rake
pghero-1.6.3 lib/tasks/pghero.rake
pghero-1.6.2 lib/tasks/pghero.rake
pghero-1.6.1 lib/tasks/pghero.rake
pghero-1.6.0 lib/tasks/pghero.rake
pghero-1.5.3 lib/tasks/pghero.rake
pghero-1.5.2 lib/tasks/pghero.rake
pghero-1.5.1 lib/tasks/pghero.rake
pghero-1.5.0 lib/tasks/pghero.rake