Pony.fm/database/migrations/2017_12_03_091509_Laravel55Upgrade.php
2017-12-03 10:06:18 +00:00

29 lines
483 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class Laravel55Upgrade extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
\Artisan::call('cache:clear');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
// same thing
$this->up();
}
}