1
0
mirror of https://github.com/flarum/core.git synced 2025-08-11 02:44:04 +02:00

Add migration generator

This commit is contained in:
Toby Zerner
2015-09-17 12:16:38 +09:30
parent 974d301bed
commit e038c5c9d9
6 changed files with 336 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?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()
{
//
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}