added support for legacy tickets

This commit is contained in:
Mark Gregory
2026-09-28 11:26:27 +01:00
parent 0a689bb11f
commit 83d617a0a7
28 changed files with 2803 additions and 2741 deletions
@@ -29,9 +29,24 @@ final class DocumentationServiceProvider extends ServiceProvider
public function boot(): void
{
$this->registerViews();
$this->registerCommands();
$this->loadMigrationsFrom(module_path('Documentation', 'Database/Migrations'));
}
/**
* Register module console commands.
*/
private function registerCommands(): void
{
if (! $this->app->runningInConsole()) {
return;
}
$this->commands([
\Modules\Documentation\Console\ImportDocumentationCommand::class,
]);
}
/**
* Register module views and anonymous components.
*/