Created
November 2, 2017 14:17
-
-
Save cole007/4bfff23c693ca496ca4929f464df2a05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Craft; | |
class m171102_131500_mudKinetix_addCity extends BaseMigration | |
{ | |
public function safeUp() | |
{ | |
$this->addColumnAfter('mudkinetix_Availability', 'cityId', 'INT', 'propertyName'); | |
$this->addColumnAfter('mudkinetix_Availability', 'cityName', 'VARCHAR(255)', 'cityId'); | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment