移除env 和 修改数据库字符集

This commit is contained in:
2020-08-19 15:19:31 +08:00
parent 156ad845f8
commit b76780874c
3 changed files with 49 additions and 74 deletions

26
.env
View File

@@ -1,26 +0,0 @@
APP_NAME=平安券核销管理系统
APP_ENV=local
APP_KEY=base64:HrWbyXR/0Bh/w5Ij6fx8747z4VvKLupYPhWELuLvVro=
APP_DEBUG=true
APP_URL=http://pac.cnskl.com
LOG_CHANNEL=daily
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=pinganBak
DB_USERNAME=pinganBak
DB_PASSWORD=R6E8SCgqkLfRvM3I
BROADCAST_DRIVER=file
CACHE_DRIVER=file
QUEUE_CONNECTION=database
SESSION_DRIVER=file
SESSION_LIFETIME=120
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

7
.gitignore vendored
View File

@@ -1,4 +1,5 @@
/tests/
/.idea
/.env
/.editorconfig
.idea
.editorconfig
.env
/vendor

View File

@@ -53,7 +53,7 @@ return [
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'collation' => 'utf8mb4_general_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,