- Work done on DatabaseMigration part and separation from Lean main package too.

This commit is contained in:
mcndave committed 2021-01-21 20:59:00 +00:00
1 parent 923b2be49e
commit f6fadd715e
5 files changed
+69 -26

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
<?php
use Lean\Console\Lib\DatabaseMigrations;
return [
'lean.console' => [
'picea' => [
'view' => [
[
'path' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/view/",
'order' => 99,
],
],
],
'ulmus' => [],
'tell' => [
'json' => [
[
'path' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/meta/i18n",
'order' => 99,
],
]
],
'routes' => [
'Lean\\Console\\Controller' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/src/Controller/",
],
],
DatabaseMigrations::class => function($c) {
return new DatabaseMigrations( $c->get(Lean\Lean::class)->getEntities() );
},
];