[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proposal for 1.3.x series db updates



Hi all;

My thinking is to make all db updates which occur only in the types or
functions of the database be handled by simply doing a module reload.
This means dropping types if they exist, old versions of functions as
necessary, etc.  The database version woudl then be set to
$request->{dbversion} (set in the LedgerSMB.pm).

The major advantage here is that it makes downgrading within a 1.3.x
series relatively possible.  It might not be perfect and db tests
might be required to see if anything was missed, but it would make
things a lot easier.

Any thoughts?

Best Wishes,
Chris Travers