Getting the SQL from a Doctrine Migration -
I am looking for a way to get the SQL statement created by a generated migration file. Extend this factor Doctrine_Migration_Base Basically I would like to save the SQL as a changing script.
The execution path leads me to Doctrine_Export, which contains the methods that make the SQL statement and execute them. I just have not found any way to ask for them. Export methods found in Doctrine_Export only work on the Doctrine-Record model and do not migrate script.
Go to path './doctrine migrate version #' from the command line:
- Doctrine_Cli :: Run
- Doctorate_Cakgrid :: Set Arguments (RGS)
- DoctorateBigrite :: Execution ()
- Doctrine Migration :: Migrate (To)
- Doctrine_Migration_Process :: Doctrine_Export :: Create, Drop, Sql Changes in methods with equivalent.
Has anyone ever encountered this before? I really would not want to change the principle original files Any help is greatly appreciated.
Can you create a dev server, and migrate to it, storage a SQL trace Like you want to go? You do not have to keep the results, but you will get a list of every command.
Comments
Post a Comment