#1538: Can't execute generate-migrations-db migrations
----------------------+-----------------------------------------------------
  Reporter:  jtaal    |       Owner:  jwage                
      Type:  defect   |      Status:  reopened             
  Priority:  blocker  |   Milestone:  1.0.4                
 Component:  Tasks    |     Version:  1.0.2                
Resolution:           |    Keywords:                       
  Has_test:  0        |    Mystatus:  Pending Core Response
 Has_patch:  0        |  
----------------------+-----------------------------------------------------
Comment (by jtaal):

 I'm trying to explain that I DONT'T have the migration_version table in my
 database when running generate-migrations-db
 The sequence of commands:
 drop-db
 create-db
 generate-migrations-db
 always creates the migration_version table for me AFTER the generate-
 migrations-db step.

 Deleting the migration_version class and running migrate DOESN'T work when
 the 001_add_migration_version.class.php file is present. The migrate
 command creates the migration_version first and then tries to process the
 001 file.

 The generate-migrations-db creates the table and creates the 001 file.
 The generate-migrations-db also adds an id column that doesn't exist in
 the migration_version table.

 Nevertheless, the proposed fix should clear this problem.

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1538#comment:9>
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