Skip to content

Commit

Permalink
Correct migrations to allow uninstallation success
Browse files Browse the repository at this point in the history
  • Loading branch information
iMattPro committed Jan 10, 2017
1 parent d5386fc commit f567254
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
5 changes: 0 additions & 5 deletions migrations/release_1_4_0_schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ public function revert_schema()
'similar_topics_ignore',
),
),
'change_columns' => array(
$this->table_prefix . 'forums' => array(
'similar_topic_forums' => array('VCHAR_UNI', ''),
),
),
);
}
}
10 changes: 2 additions & 8 deletions migrations/release_1_4_1_schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ class release_1_4_1_schema extends \phpbb\db\migration\migration
{
static public function depends_on()
{
return array('\vse\similartopics\migrations\release_1_4_0_schema');
return array('\vse\similartopics\migrations\release_1_3_1_data',
'\vse\similartopics\migrations\release_1_4_0_schema');
}

public function update_schema()
Expand All @@ -30,12 +31,5 @@ public function update_schema()

public function revert_schema()
{
return array(
'change_columns' => array(
$this->table_prefix . 'forums' => array(
'similar_topic_forums' => array('MTEXT', ''),
),
),
);
}
}

0 comments on commit f567254

Please sign in to comment.