lib/tasks/pghero.rake in pghero-1.4.2 vs lib/tasks/pghero.rake in pghero-1.5.0
- old
+ new
@@ -2,9 +2,14 @@
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