From ac4cad9a668328b19284c3f26895027cb035ed3b Mon Sep 17 00:00:00 2001 From: Web Artisan Date: Wed, 13 Mar 2024 22:34:29 +0500 Subject: [PATCH] laravel 11 fix issues --- composer.json | 5 +---- config/database.php | 2 +- phpunit.xml | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 69ef3be..809f22d 100644 --- a/composer.json +++ b/composer.json @@ -56,13 +56,10 @@ "post-create-project-cmd": [ "@php artisan key:generate --ansi", "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"", - "@php artisan migrate --ansi" + "@php artisan migrate --graceful --ansi" ] }, "extra": { - "branch-alias": { - "dev-master": "11.x-dev" - }, "laravel": { "dont-discover": [] } diff --git a/config/database.php b/config/database.php index 3ddc396..f720f56 100644 --- a/config/database.php +++ b/config/database.php @@ -69,7 +69,7 @@ 'password' => env('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => env('DB_CHARSET', 'utf8mb4'), - 'collation' => env('DB_COLLATION', 'utf8mb4_uca1400_ai_ci'), + 'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'), 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, diff --git a/phpunit.xml b/phpunit.xml index 506b9a3..c09b5bc 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -22,8 +22,7 @@ - - +