From c94bb44d9f91013e0cb9a810e1ab5b5da4fbabd4 Mon Sep 17 00:00:00 2001 From: Toornaa Date: Mon, 31 Aug 2026 14:57:06 +0330 Subject: [PATCH] chore-switch-default-database-to-mysql --- backend/.env.example | 12 ++++++------ backend/config/database.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/.env.example b/backend/.env.example index 4ba2363..58b03dd 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -20,12 +20,12 @@ LOG_STACK=single LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug -DB_CONNECTION=sqlite -# DB_HOST=127.0.0.1 -# DB_PORT=3306 -# DB_DATABASE=laravel -# DB_USERNAME=root -# DB_PASSWORD= +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=pm_console +DB_USERNAME=root +DB_PASSWORD= # Controlled SQLite -> MySQL migration (keep separate from the active connection) MIGRATION_SQLITE_PATH= diff --git a/backend/config/database.php b/backend/config/database.php index 2ffdb97..bf57b99 100644 --- a/backend/config/database.php +++ b/backend/config/database.php @@ -17,7 +17,7 @@ return [ | */ - 'default' => env('DB_CONNECTION', 'sqlite'), + 'default' => env('DB_CONNECTION', 'mysql'), /* |--------------------------------------------------------------------------