2017-12-14 12:24:41 +08:00
|
|
|
<?php
|
|
|
|
|
2018-02-06 06:16:24 +08:00
|
|
|
use App\Models\Migrations\Migration;
|
2017-12-14 12:24:41 +08:00
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
|
|
|
|
class $CLASS$ extends Migration
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
|
|
|
Schema::table('$TABLE$', function (Blueprint $table) {
|
|
|
|
$FIELDS_UP$
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
|
|
|
Schema::table('$TABLE$', function (Blueprint $table) {
|
|
|
|
$FIELDS_DOWN$
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|