beberlei/Doctrine-Workflow — pull request #10 by koenedaele (2011-10-20 21:00:40+00:00)
Title: Fixes for #6 and #7

Fixes for working with postgresql and sequences in general.

What's changed:

* WorkFlowOptions has methods like nodeSequence(), executionSequence()
* Fixed #6 by using a subselect for selecting max version. Not tested with other databases.
* Changed DefintionStorage and DoctrineExcution to use sequences if the platform prefers this

I've tried to stick to your coding style. Feel free to reformat stuff.

I haven't run the unit tests because I didn't have the ezcWorkflow Tests handy (I installed via pear).