Uploaded image for project: 'Doctrine 1'
  1. Doctrine 1
  2. DC-988

migrations should allow generation of SQL in place of DB manipulation


    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Migrations
    • Labels:


      At present migrations only allow for direct manipulation of the underlying database. However, many enterprise release processes disallow automated manipulation of databases (especially Oracle) due to a number of reasons (eg placing different objects in different table spaces).

      Because of this, it is preferable for developers to auto generate SQL and then hand over the specialist DBAs who may then filter/alter as needed on a per-environment basis.

      this is currently very easy to achieve with initial database query generation, as outputting SQL is an option, but there is no such option for migration scripts. Therefore I would like to request this option to be added to the migration class.


        There are no comments yet on this issue.


          • Assignee:
            jwage Jonathan H. Wage
            temperedvision David Dixon
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: