Skip to content

Commit 5ddc99f

Browse files
committed
update the README to add instructions for using the configuration option
1 parent 0af08cc commit 5ddc99f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ end
109109
to prevent accidental data loss. After successful or failed LHM migrations, these leftover
110110
tables must be cleaned up.
111111

112+
**Note:** When developing locally or running tests, LHM runs 'inline' by default, meaning that the
113+
extra table is not used and the original table is not replaced. If this behavior is not desirable
114+
for your project, you can disable it by setting `Rails.configuration.disallow_inline_lhm = true` in
115+
the appropriate environment files.
116+
112117
### Usage with ProxySQL
113118
LHM can recover from connection loss. However, when used in conjunction with ProxySQL, there are multiple ways that
114119
connection loss could induce data loss (if triggered by a failover). Therefore it will perform additional checks to

0 commit comments

Comments
 (0)