1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/tests/mysql_migration_classes/002_mysql_change_column.php

13 lines
270 B
PHP
Raw Normal View History

2007-11-08 20:12:11 +03:00
<?php
class MysqlChangeColumn extends Doctrine_Migration
{
public function up()
{
$this->renameColumn('migration_test','field2','field3');
}
public function down()
{
$this->renameColumn('migration_test','field3','field2');
2007-11-08 20:12:11 +03:00
}
}