src/ModuleProvider.php
protected function registerMigrations()
    {
        if (is_dir($dir = $this->module->getPath('src/Database/Migrations'))
            || is_dir($dir = $this->module->getPath('database/migrations'))
        ) {
            $this->loadMigrationsFrom($dir);
        }
    }
protected function registerMigrations()
    {
        if (is_dir($dir = $this->module->getPath('src/Database/Migrations'))
            || is_dir($dir = $this->module->getPath('database/migrations'))
        ) {
            $this->loadMigrationsFrom($dir);
        }
    }
Register migrations.