Pony.fm/database/migrations/2017_12_03_091509_Laravel55Upgrade.php

30 lines
480 B
PHP
Raw Normal View History

2017-12-03 10:23:59 +01:00
<?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();
}
}