mirror of
https://github.com/elyby/accounts.git
synced 2024-11-26 16:52:02 +05:30
16 lines
350 B
PHP
16 lines
350 B
PHP
<?php
|
|
|
|
use console\db\Migration;
|
|
|
|
class m161024_234121_remove_client_token_index extends Migration {
|
|
|
|
public function safeUp() {
|
|
$this->dropIndex('client_token', '{{%minecraft_access_keys}}');
|
|
}
|
|
|
|
public function safeDown() {
|
|
$this->createIndex('client_token', '{{%minecraft_access_keys}}', 'client_token', true);
|
|
}
|
|
|
|
}
|