diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2018-09-26 03:17:08 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2018-09-26 03:18:56 +0000 |
commit | 67c8001459f2f471ffdb0c17f0a1ce362528d719 (patch) | |
tree | 71b93a8563fb6e8f40cd744e93b4366680949e04 | |
parent | b658743ac2a69d196d283e780816f5ad4a305753 (diff) | |
download | rails-67c8001459f2f471ffdb0c17f0a1ce362528d719.tar.gz rails-67c8001459f2f471ffdb0c17f0a1ce362528d719.tar.bz2 rails-67c8001459f2f471ffdb0c17f0a1ce362528d719.zip |
Use the same option for create database statements between Raketask and travis.rb
-rwxr-xr-x | ci/travis.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/travis.rb b/ci/travis.rb index 861063afa5..1de281046f 100755 --- a/ci/travis.rb +++ b/ci/travis.rb @@ -9,10 +9,10 @@ commands = [ 'mysql -e "grant all privileges on activerecord_unittest.* to rails@localhost;"', 'mysql -e "grant all privileges on activerecord_unittest2.* to rails@localhost;"', 'mysql -e "grant all privileges on inexistent_activerecord_unittest.* to rails@localhost;"', - 'mysql -e "create database activerecord_unittest;"', - 'mysql -e "create database activerecord_unittest2;"', - 'psql -c "create database activerecord_unittest;" -U postgres', - 'psql -c "create database activerecord_unittest2;" -U postgres' + 'mysql -e "create database activerecord_unittest default character set utf8mb4;"', + 'mysql -e "create database activerecord_unittest2 default character set utf8mb4;"', + 'psql -c "create database -E UTF8 -T template0 activerecord_unittest;" -U postgres', + 'psql -c "create database -E UTF8 -T template0 activerecord_unittest2;" -U postgres' ] commands.each do |command| |