Skip to content

Commit

Permalink
ws
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed May 12, 2016
1 parent d3414ab commit 545ded4
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -28,17 +28,17 @@ class KronolithUpgradeTypeToCalendarType extends Horde_Db_Migration_Base
*/
public function up()
{
$this->renameColumn('kronolith_sharesng', 'attribute_type','attribute_calendar_type');
$this->renameColumn('kronolith_shares', 'attribute_type','attribute_calendar_type');
$this->renameColumn('kronolith_sharesng', 'attribute_type', 'attribute_calendar_type');
$this->renameColumn('kronolith_shares', 'attribute_type', 'attribute_calendar_type');
}

/**
* Downgrade
*/
public function down()
{
$this->renameColumn('kronolith_sharesng', 'attribute_calendar_type','attribute_type');
$this->renameColumn('kronolith_shares', 'attribute_calendar_type','attribute_type');
$this->renameColumn('kronolith_sharesng', 'attribute_calendar_type', 'attribute_type');
$this->renameColumn('kronolith_shares', 'attribute_calendar_type', 'attribute_type');
}

}

0 comments on commit 545ded4

Please sign in to comment.