Skip to content

Commit

Permalink
Actually populate the tableList variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 19, 2017
1 parent 98977b1 commit 1da8838
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jonah/migration/4_trean_upgrade_tagstocontent.php
Expand Up @@ -54,6 +54,8 @@ public function up()

public function down()
{
$tableList = $this->tables();

if (!in_array('jonah_stories_tags', $tableList)) {
$t = $this->createTable('jonah_stories_tags', array('autoincrementKey' => false));
$t->column('story_id', 'integer', array('null' => false));
Expand Down

0 comments on commit 1da8838

Please sign in to comment.