Added clear cache migration

This commit is contained in:
Adam Lavin 2017-12-03 09:23:59 +00:00
parent 47ecf523f4
commit 9fe1c409a5

View file

@ -0,0 +1,29 @@
<?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();
}
}