Skip to content

Commit

Permalink
[db] Get rid of unused bb_bt_config table (hurtom#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
yukoff committed Aug 8, 2017
1 parent bb82f7c commit d0af269
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 52 deletions.
21 changes: 0 additions & 21 deletions database/entities/Database/Entities/BbBtConfig.php

This file was deleted.

26 changes: 0 additions & 26 deletions database/mappings/Database.Entities.BbBtConfig.dcm.yml

This file was deleted.

11 changes: 6 additions & 5 deletions database/migrations/Version20170601000000.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@ public function up(Schema $schema)
PRIMARY KEY(topic_id)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB');

/**
* bb_bt_config
* @see https://github.com/hurtom/toloka/issues/95
*/
$this->addSql('DROP TABLE bb_bt_config');

$this->addSql('DROP TABLE bb_bt_users_dl_status');
$this->addSql('DROP TABLE bb_confirm');
$this->addSql('DROP TABLE bb_easymod');
Expand Down Expand Up @@ -396,11 +402,6 @@ public function up(Schema $schema)
CHANGE ban_email ban_email VARCHAR(255) DEFAULT \'\' NOT NULL,
ENGINE = InnoDB');

// bb_bt_config
$this->addSql('ALTER TABLE bb_bt_config
CHANGE config_name config_name VARCHAR(255) NOT NULL,
ENGINE = InnoDB');

// bb_bt_search_results
$this->addSql('ALTER TABLE bb_bt_search_results
CHANGE session_id session_id VARCHAR(32) NOT NULL COLLATE utf8mb4_bin,
Expand Down

0 comments on commit d0af269

Please sign in to comment.