marc-leopold/server/plugins/rainlab/builder/classes/migrationmodel/templates/migration.php.tpl

20 lines
355 B
Smarty

<?php namespace {namespace};
use Schema;
use October\Rain\Database\Updates\Migration;
class {className} extends Migration
{
public function up()
{
// Schema::create('{tableNamePrefix}_table', function($table)
// {
// });
}
public function down()
{
// Schema::drop('{tableNamePrefix}_table');
}
}