Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
use MySQL "ENGINE=MEMORY" for rails app, thanks to
find ./db/migrate/* | xargs sed -i 's/create_table [^ ]*/&, :options => "ENGINE=MEMORY"/'

This comment has been minimized.

Copy link

dhilst commented Feb 1, 2019

I had to used sed -i '' -e ... in macos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.