Welcome Guest, Not a member yet? Register   Sign In
Spark Migrate on Testing environment
#1

Hi,

I just want to start learning the CI4.
Within .env file, there was 2 template group of Database, default and tests.

CMIIW,
default group will be used if i set CI_ENVIRONMENT to production.
if i want to use tests group, than i have to set CI_ENVIRONMENT to development or testing ?

my question actually about spark migration.
If i set the environment to production / development, and run php spak migration, it was no error, and the default database filed with migration data.

But if i change the environment to testing, i got this error:
Code:
CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-02-25 22:24:35pm

ERROR: 404
Controller or its method is not found: App\Controllers\Cimigrate::index

Please advise, how do i use the tests group database during migration?
Thank you.
Reply


Messages In This Thread
Spark Migrate on Testing environment - by akuila - 02-25-2020, 09:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB