Skip to content

Commit

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

This file was deleted.

25 changes: 0 additions & 25 deletions database/mappings/Database.Entities.BbForbiddenExtensions.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 @@ -302,6 +302,12 @@ public function up(Schema $schema)
*/
$this->addSql('DROP TABLE bb_flags');

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

$this->addSql('DROP TABLE bb_forum_prune');
$this->addSql('DROP TABLE bb_sessions_keys');
$this->addSql('DROP TABLE bb_themes');
Expand Down Expand Up @@ -570,11 +576,6 @@ public function up(Schema $schema)
CHANGE comment comment VARCHAR(100) DEFAULT \'\' NOT NULL,
ENGINE = InnoDB');

// bb_forbidden_extensions
$this->addSql('ALTER TABLE bb_forbidden_extensions
CHANGE ext_id ext_id INT UNSIGNED NOT NULL,
ENGINE = InnoDB');

// bb_forums
$this->addSql('ALTER TABLE bb_forums
ADD forum_tpl_id SMALLINT DEFAULT 0 NOT NULL,
Expand Down

0 comments on commit c8d5947

Please sign in to comment.