soundcloud / lhm

Online MySQL schema migrations
BSD 3-Clause "New" or "Revised" License
1.83k stars 190 forks source link

Fix Lhm.cleanup command in README.md #159

Open darellkoh opened 5 years ago

darellkoh commented 5 years ago

Issue

While running the Lhm.cleanup command, I realized that the instructions and examples in the README stated the first argument as :run (see below) instead of a boolean as reflected in the source code.

Lhm.cleanup(:run)

Fix

I modified the first argument in the Lhm.cleanup README.md instructions and examples to reflect the intended boolean usage in the source code:

Lhm.cleanup(true)

Rails

Lhm.cleanup(true, until: 1.day.ago)