mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 23:49:20 +08:00
34 lines
583 B
Plaintext
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) {
|
|
//
|
|
});
|
|
}
|
|
}
|