Skip to content

Bug: start migration in manual mode #2942

Description

@lebidvadim

Direction
migrations

Describe the bug
when migrations are manually started via the $migrate->latest() function; it creates only the migrations table and does not find all namespaces.

CodeIgniter 4 version
4.0.3.

Affected module(s)
system\ Database\MigrationRunner.php line 475

Expected behavior, and steps to reproduce if appropriate
it’s not clear why you did that check because APP gets into $this->namespace and in Services:: autoloader ()->getNamespace() it is already there, and that check turns out like I don’t need.

Context

  • OS: [e.g. Windows 11]
  • Web server [e.g. Apache 1.2.3]
  • PHP version [e.g. 7.2]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions