mirror of
https://github.com/flarum/framework.git
synced 2025-02-15 19:02:45 +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) {
|
||
|
//
|
||
|
});
|
||
|
}
|
||
|
}
|