#1445: Doctrine_Migration::addColumn failing quietly
-------------------------+--------------------------------------------------
  Reporter:  kirberich   |       Owner:  jwage                
      Type:  defect      |      Status:  closed               
  Priority:  minor       |   Milestone:                       
 Component:  Attributes  |     Version:  1.0                  
Resolution:  invalid     |    Keywords:                       
  Has_test:  0           |    Mystatus:  Pending Core Response
 Has_patch:  0           |  
-------------------------+--------------------------------------------------
Changes (by jwage):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 This is not how migrations are supposed to be used.

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

     public function down()
     {
         $this->dropTable('migration_test');
     }
 }
 }}}

 If you just want to use the database abstraction layer directly to
 manipulate your database then you can use this.

 http://www.doctrine-project.org/documentation/manual/1_0?one-page
 #database-abstraction

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1445#comment:1>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to