Created
August 4, 2009 18:31
-
-
Save thoughtbot/161420 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ rake db:structure:dump | |
$ echo "create database myapp_test2;" | mysql -uroot | |
$ mysql -uroot -Dmyapp_test2 < db/development_structure.sql | |
$ vim config/database.yml # add some ERB to config/database.yml | |
test: | |
adapter: mysql | |
encoding: utf8 | |
database: myapp_test<%= ENV['TEST_ENV_NUMBER'] %> | |
username: root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment