Skip to content

Commit

Permalink
Add database encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Mar 21, 2020
1 parent 6603de0 commit f3c926b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
- name: Start MySQL
run: sudo systemctl start mysql

- name: Create test database
run: mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS slim_skeleton_int;'
- name: Create database
run: mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS slim_skeleton_int CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'

- name: Copy settings
run: cp config/env.github.php config/env.php
Expand Down
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ build:
before:
- composer self-update
- composer update --no-interaction --prefer-dist --no-progress
- mysql -u root -e "CREATE DATABASE IF NOT EXISTS slim_skeleton_int;"
- mysql -u root -e "CREATE DATABASE IF NOT EXISTS slim_skeleton_int CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
tests:
before:
-
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cache:
before_script:
- composer self-update
- composer install --no-interaction --prefer-dist --no-progress
- mysql -e 'CREATE DATABASE IF NOT EXISTS slim_skeleton_int;'
- mysql -e 'CREATE DATABASE IF NOT EXISTS slim_skeleton_int CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'
- cp config/env.example.php config/env.php
- cd $TRAVIS_BUILD_DIR

Expand Down

0 comments on commit f3c926b

Please sign in to comment.