mirror of
https://github.com/elyby/accounts.git
synced 2024-09-20 02:25:46 +05:30
16 lines
413 B
PHP
16 lines
413 B
PHP
|
<?php
|
||
|
|
||
|
use console\db\Migration;
|
||
|
|
||
|
class m180102_164624_increase_minecraft_access_keys_client_token_length extends Migration {
|
||
|
|
||
|
public function safeUp() {
|
||
|
$this->alterColumn('{{%minecraft_access_keys}}', 'client_token', $this->string()->notNull());
|
||
|
}
|
||
|
|
||
|
public function safeDown() {
|
||
|
$this->alterColumn('{{%minecraft_access_keys}}', 'client_token', $this->string(36)->notNull());
|
||
|
}
|
||
|
|
||
|
}
|