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

30 lines
483 B
PHP
Raw Normal View History

2017-12-03 10:23:59 +01:00
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
2017-12-03 10:23:59 +01:00
class Laravel55Upgrade extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
2017-12-03 11:06:18 +01:00
\Artisan::call('cache:clear');
2017-12-03 10:23:59 +01:00
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
// same thing
$this->up();
}
}