<?php

/**
 * @copyright Copyright (C) 2015-2017 AIZAWA Hina
 * @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
 * @author AIZAWA Hina <hina@fetus.jp>
 */

use app\components\db\Migration;

class m171007_152403_bamboo14mk1_splatnet extends Migration
{
    public function safeUp()
    {
        $this->update('weapon2', ['splatnet' => 2050], ['key' => 'bamboo14mk1']);
    }

    public function safeDown()
    {
        $this->update('weapon2', ['splatnet' => null], ['key' => 'bamboo14mk1']);
    }
}
