mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
6bcd89acf7
To prevent errors upon migration. Command generates out the SQL syntax to make the change instead so the upgrade can be done manually. In reference to #425
33 lines
800 B
PHP
33 lines
800 B
PHP
<?php namespace BookStack\Console;
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
|
|
class Kernel extends ConsoleKernel
|
|
{
|
|
/**
|
|
* The Artisan commands provided by your application.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $commands = [
|
|
Commands\ClearViews::class,
|
|
Commands\ClearActivity::class,
|
|
Commands\ClearRevisions::class,
|
|
Commands\RegeneratePermissions::class,
|
|
Commands\RegenerateSearch::class,
|
|
Commands\UpgradeDatabaseEncoding::class
|
|
];
|
|
|
|
/**
|
|
* Define the application's command schedule.
|
|
*
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
* @return void
|
|
*/
|
|
protected function schedule(Schedule $schedule)
|
|
{
|
|
//
|
|
}
|
|
}
|