Pony.fm/database/migrations/2017_12_03_091509_Laravel55Upgrade.php
2017-12-03 09:24:36 +00:00

29 lines
480 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()
{
app()->call('cache:clear');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
// same thing
$this->up();
}
}