src/Console/Commands/Install.php
/**
     * Runs all database migrations for Soda.
     */
Runs all database migrations for Soda.
Runs all database migrations for Soda .
public function handle()
    {
        $this->call('migrate', ['--path' => '/vendor/soda-framework/cms/migrations']);
        $this->call('db:seed', ['--class' => 'Soda\\Cms\\Foundation\\Setup\\SetupApplication']);
        $this->call('db:seed', ['--class' => 'Soda\\Cms\\Foundation\\Setup\\SetupRoles']);
        $this->call('db:seed', ['--class' => 'Soda\\Cms\\Foundation\\Setup\\SetupUsers']);
        $this->call('db:seed', ['--class' => 'Soda\\Cms\\Foundation\\Setup\\SetupPermissions']);
        $this->call('soda:assets');
    }
public function handle ( ) { $ this -> call ( 'migrate' , [ '--path' => '/vendor/soda-framework/cms/migrations' ] ) ; $ this -> call ( 'db:seed' , [ '--class' => 'Soda\\Cms\\Foundation\\Setup\\SetupApplication' ] ) ; $ this -> call ( 'db:seed' , [ '--class' => 'Soda\\Cms\\Foundation\\Setup\\SetupRoles' ] ) ; $ this -> call ( 'db:seed' , [ '--class' => 'Soda\\Cms\\Foundation\\Setup\\SetupUsers' ] ) ; $ this -> call ( 'db:seed' , [ '--class' => 'Soda\\Cms\\Foundation\\Setup\\SetupPermissions' ] ) ; $ this -> call ( 'soda:assets' ) ; }
Runs all database migrations for Soda.
Runs all database migrations for Soda .