Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
use MySQL "ENGINE=MEMORY" for rails app, thanks to http://stackoverflow.com/questions/1602494/rails-with-in-memory-database
find ./db/migrate/* | xargs sed -i 's/create_table [^ ]*/&, :options => "ENGINE=MEMORY"/'
@dhilst

This comment has been minimized.

Copy link

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.