Merge pull request #130 from Lavoaster/the-fix-the-production-site-branch-because-i-missed-out-a-migration

Added clear cache migration
This commit is contained in:
Peter Deltchev 2017-12-03 01:28:08 -08:00 committed by GitHub
commit f29d158611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();
}
}