Created
February 12, 2011 18:15
-
-
Save havvg/823952 to your computer and use it in GitHub Desktop.
an example migration file for sfCloudControlPlugin using sfPropelMigrationsLightPlugin
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 | |
/** | |
* Migrations between versions 003 and 004. | |
*/ | |
class Migration004 extends sfMigration | |
{ | |
/** | |
* Migrate up to version 004. | |
*/ | |
public function up() | |
{ | |
$sfCloudControlPluginMigration = new sfCloudControlMigration001($this->getMigrator(), $this->getMigrationNumber()); | |
$sfCloudControlPluginMigration->up(); | |
} | |
/** | |
* Migrate down to version 003. | |
*/ | |
public function down() | |
{ | |
$sfCloudControlPluginMigration = new sfCloudControlMigration001($this->getMigrator(), $this->getMigrationNumber()); | |
$sfCloudControlPluginMigration->down(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment