<?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 without namespace */
/* @var $namespace string the new migration class namespace */

use app\models\Weapon2;
?>
<?= $this->renderFile(__DIR__ . '/migration.php', [
    'className' => $className,
    'namespace' => $namespace,
    'inTransaction' => true,
    'traits' => [
        'app\components\db\SalmonWeaponMigration',
    ],
    'upCode' => implode("\n", [
        '$this->upSalmonWeapons2([',
        "    'key',",
        "    'key',",
        "    'key',",
        ']);',
    ]),
    'downCode' => implode("\n", [
        '$this->downSalmonWeapons2([',
        "    'key',",
        "    'key',",
        "    'key',",
        ']);',
    ]),
]) ?>
