Skip to content

Instantly share code, notes, and snippets.

@wteuber
Created January 17, 2014 15:52
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
Copy link

dhilst commented Feb 1, 2019

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

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment