#1399: generate-all-reload should realize if you have migration classes and 
create
a migration table with latest value
---------------------------+------------------------------------------------
  Reporter:  isleshocky77  |       Owner:  jwage                
      Type:  defect        |      Status:  closed               
  Priority:  major         |   Milestone:  1.1.0                
 Component:  Cli           |     Version:  1.0.0                
Resolution:  wontfix       |    Keywords:                       
  Has_test:  0             |    Mystatus:  Pending Core Response
 Has_patch:  0             |  
---------------------------+------------------------------------------------
Comment (by isleshocky77):

 This has been deemed to be invalid because I'm told I'm using migrations
 improperly.

 Previously, I would create the initial migration scripts when I was done
 with a project build in case I ever had to use them; however, I would
 still normally do a build-all-reload on the production server to get the
 production environment setup.  However, later when I did want to migrate
 the production server to a next, new migration class there was not
 migrations table for the classes to use.  This is why I thought you should
 have a migrations table built by default with the highest migration class
 number as the value.

 It has been explained to me that I should be using the migrations classes
 to build that first setup on the production system rather than rebuilding
 everything.  This will then also leave the migrations table in the proper
 place.  For myself and my company for now on we should be using the
 migrations functionality to create the first copy of the production
 database.

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