1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/tests/migration_classes/001_add_table.php

13 lines
268 B
PHP
Raw Normal View History

2007-09-21 00:24:38 +04:00
<?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');
}
}