Bug: db:create command should create database even database not exists yet, and defined in .env #4498
Labels
bug
Verified issues on the current code behavior or pull requests that will fix them
Direction
We use github issues to track bugs, not for support.
If you have a support question, or a feature request, raise these as threads on our
forum.
Describe the bug
For example, there is
.env
file:And command :
will throw exception if
db_name
not exists yet as used in.env
as connection configuration.The current solution is by comment the
database.default.database
:# database.default.database = db_name
CodeIgniter 4 version
4.1.1
Affected module(s)
Database
Expected behavior, and steps to reproduce if appropriate
It should works without need uncomment database config in .env.
Context
The text was updated successfully, but these errors were encountered: