-
-
Save gtrias/5f709ce8674d7437b4715d3623334555 to your computer and use it in GitHub Desktop.
use MySQL "ENGINE=MEMORY" for rails app, thanks to http://stackoverflow.com/questions/1602494/rails-with-in-memory-database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ./db/migrate/* | xargs sed -i 's/create_table [^ ]*/&, :options => "ENGINE=MEMORY"/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment