mirror of
https://github.com/elyby/accounts.git
synced 2024-11-09 23:12:20 +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);
|
|
}
|
|
|
|
}
|