sudr / dbdeploy

Automatically exported from code.google.com/p/dbdeploy
0 stars 0 forks source link

simplify delta sets - allow specification of the changelog table name instead #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The deltaset concept is sensible to use in a few edge cases only, notably
when using dbdeploy to deploy to replicated databases.

However, deltaset "Main" infects the code all over the place.  And the
changelog table is more complex than it needs be because e.g. the PK has to
cover both the change number and the deltaset name.  Therefore any custom
code looking at the changelog table needs to hardcode "Main" as well.

A simpler implementation would be to allow user specification of the name
of the changelog table instead.

Original issue reported on code.google.com by gtack...@googlemail.com on 14 Apr 2009 at 1:19

GoogleCodeExporter commented 9 years ago
I'd be happy to take a shot at this - I also need to specify the name of the
changelog table.

Original comment by simon.br...@gmail.com on 23 Aug 2009 at 8:56

GoogleCodeExporter commented 9 years ago
I've forked and fixed this issue. Code is available here:
http://github.com/rhyskeepence/dbdeploy/tree/master

Original comment by rhyskeep...@gmail.com on 2 Sep 2009 at 9:07

GoogleCodeExporter commented 9 years ago
Thanks rhyskeepence.  Your code now applied in r105, r106, r107.

This issue kept open because the work to remove the "Main" deltaset still needs 
to be 
done.

Original comment by gtack...@googlemail.com on 14 Sep 2009 at 2:58

GoogleCodeExporter commented 9 years ago
Deltasets are dead in r111!

Just need to update the docs now.

Original comment by gtack...@googlemail.com on 14 Sep 2009 at 11:24

GoogleCodeExporter commented 9 years ago
Docs updated.

Original comment by gtack...@googlemail.com on 14 Sep 2009 at 11:33