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

20 lines
355 B
Smarty
Raw Normal View History

2019-02-25 14:56:59 +00:00
<?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');
}
}