framework/stubs/migrations/update.stub
2015-09-17 12:16:38 +09:30

34 lines
583 B
Plaintext

<?php
namespace Flarum\Migrations\{{extension}};
use Illuminate\Database\Schema\Blueprint;
use Flarum\Migrations\Migration;
class {{name}} extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$this->schema->table('{{table}}', function (Blueprint $table) {
//
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
$this->schema->table('{{table}}', function (Blueprint $table) {
//
});
}
}