1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/tests/migration_classes/002_change_column.php

13 lines
273 B
PHP
Raw Normal View History

2007-09-21 00:24:38 +04:00
<?php
class ChangeColumn extends Doctrine_Migration
{
public function up()
{
$this->changeColumn('migration_test', 'field1', 'integer');
}
public function down()
{
$this->changeColumn('migration_test', 'field1', 'string');
}
}