Created
November 3, 2017 11:17
-
-
Save Darep/cfb88b75f3572c9c31b391d0b15ab5c7 to your computer and use it in GitHub Desktop.
utf8mb4 for CircleCI in Rails
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
database: | |
override: | |
- mv config/database.ci.yml config/database.yml | |
- RAILS_ENV="test" RACK_ENV="test" bundle exec rake db:create db:structure:load ts:configure ts:index ts:start --trace |
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
# config/database.ci.yml | |
test: | |
adapter: mysql2 | |
database: circle_ruby_test | |
username: ubuntu | |
host: localhost | |
encoding: utf8mb4 | |
collation: utf8mb4_unicode_ci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment