1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/migration_classes/001_add_table.php
2007-09-20 20:24:38 +00:00

13 lines
268 B
PHP

<?php
class AddTable extends Doctrine_Migration
{
public function up()
{
$this->createTable('migration_test', array('field1' => array('type' => 'string')));
}
public function down()
{
$this->dropTable('migration_test');
}
}