#1538: Can't execute generate-migrations-db migrations
-----------------------------------+----------------------------------------
 Reporter:  jtaal                  |       Owner:  jwage
     Type:  defect                 |      Status:  new  
 Priority:  major                  |   Milestone:       
Component:  Tasks                  |     Version:  1.0.2
 Keywords:                         |    Has_test:  0    
 Mystatus:  Pending Core Response  |   Has_patch:  0    
-----------------------------------+----------------------------------------
 When using the
 ./doctrine generate-migrations-db
 A migration class
 001_add_migration_version.class.php
 is generated.

 This class generates the migration_version table with a primary key and
 version field.
 However when trying to raise the version to 1 or higher I get the
 following error:
 SQLSTATE[42S01]: Base table or view already exists: 1050 Table
 'migration_version' already exists

 When I delete the migration_version table myself and retrying to migrate,
 I'm getting the same error.
 The migration_version table I'm getting repeatedly doesn't have a primary
 key.

 I've even used the command on an empty database, same result...

 PHP 5.2.6

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