yii2-arangodb/views/migration.php

25 lines
436 B
PHP
Raw Normal View History

2014-07-29 13:33:21 +08:00
<?php
/**
* This view is used by console/controllers/MigrateController.php
* The following variables are available in this view:
*/
/* @var $className string the new migration class name */
echo "<?php\n";
?>
2014-07-29 14:18:56 +08:00
class <?= $className ?> extends \devgroup\arangodb\Migration
2014-07-29 13:33:21 +08:00
{
public function up()
{
}
public function down()
{
echo "<?= $className ?> cannot be reverted.\n";
return false;
}
}