- <?php
-
-
-
-
- echo "<?php\n";
- if (!empty($namespace)) {
- echo "\nnamespace {$namespace};\n";
- }
- ?>
-
- use yii\db\Migration;
-
- class <?= $className ?> extends Migration
- {
- public function up()
- {
-
- }
-
- public function down()
- {
- echo "<?= $className ?> cannot be reverted.\n";
-
- return false;
- }
-
-
-
- }
|