Location: PHPKode > projects > Maintainable PHP Framework > test/fixtures/migrations_with_missing_versions/1000_users_have_middle_names.php
<?php

class UsersHaveMiddleNames extends Mad_Model_Migration_Base 
{
    public function up()
    {
        $this->addColumn('users', 'middle_name', 'string');
    }

    public function down()
    {
        $this->removeColumn('users', 'middle_name');
    }
}
Return current item: Maintainable PHP Framework