diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-26 16:41:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-26 16:41:21 +0900 |
commit | 29c23cc7bda5ffc0fc37f6388105bdf57f5903f0 (patch) | |
tree | 71b93a8563fb6e8f40cd744e93b4366680949e04 | |
parent | b658743ac2a69d196d283e780816f5ad4a305753 (diff) | |
parent | 67c8001459f2f471ffdb0c17f0a1ce362528d719 (diff) | |
download | rails-29c23cc7bda5ffc0fc37f6388105bdf57f5903f0.tar.gz rails-29c23cc7bda5ffc0fc37f6388105bdf57f5903f0.tar.bz2 rails-29c23cc7bda5ffc0fc37f6388105bdf57f5903f0.zip |
Merge pull request #33987 from yahonda/specify_database_characterset_at_travis
Use the same option for create database statements
-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| |