From 449383cdaeb8de7a75b86bfa043ac00a1a17b097 Mon Sep 17 00:00:00 2001 From: Darell Koh Date: Fri, 14 Jun 2019 11:10:26 -0400 Subject: [PATCH] Change first argument from :run to true in Lhm.cleanup documentation --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0c326006..4b0b27e3 100644 --- a/README.md +++ b/README.md @@ -196,20 +196,23 @@ Lhm.cleanup ``` To remove any Lhm tables/triggers found: + ```ruby -Lhm.cleanup(:run) +Lhm.cleanup(true) ``` Optionally only remove tables up to a specific Time, if you want to retain previous migrations. Rails: + ```ruby -Lhm.cleanup(:run, until: 1.day.ago) +Lhm.cleanup(true, until: 1.day.ago) ``` Ruby: + ```ruby -Lhm.cleanup(:run, until: Time.now - 86400) +Lhm.cleanup(true, until: Time.now - 86400) ``` ## Contributing