Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #25 from spiral/develop
Browse files Browse the repository at this point in the history
No Loader, improved Up command
  • Loading branch information
wolfy-j authored Jun 28, 2017
2 parents 70bbf60 + dd61b16 commit aaf5707
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
3 changes: 0 additions & 3 deletions app/classes/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class App extends Core
* @var array
*/
const LOAD = [
//Can speed up class loading a bit
\Spiral\Core\Loader::class,

//Short bindings to spiral services (eg http, db, ...)
\Spiral\Core\Bootloaders\SpiralBindings::class,

Expand Down
13 changes: 8 additions & 5 deletions app/config/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,21 @@
* options, header and footer.
*/
'configureSequence' => [
'views:compile' => ['options' => []],
'ide-helper' => ['options' => [], 'header' => "\nGenerating IDE helper classes..."],

'views:compile' => ['options' => []],
/*{{sequence.configure}}*/
],

/*
* Set of commands executed inside "update" command.
*/
'updateSequence' => [
//'odm:schema' => ['options' => []],
'orm:schema' => ['options' => []],
//With ODM: 'odm:schema' => ['options' => []],
'orm:schema' => ['options' => ['--migrate' => true, '-vv' => true]],

//Make sure your migrations are inited! 'migrate:init' => ['options' => []]
'migrate' => ['options' => ['-vv' => true]],

'ide-helper' => ['options' => [], 'header' => "\nGenerating IDE helper classes..."],
/*{{sequence.update}}*/
]
];

0 comments on commit aaf5707

Please sign in to comment.