← Back to team overview

brewtarget-devs team mailing list archive

Re: Database version number


features/newmtypev2 in my repos. Do not confuse it with
features/newmashtype. The second is very old and ... well, it was better to
dust off and nuke.

But a better idea occurred to me.

One of the things I would like to do is find all of the MashStep that are
type infusion with a name of "Final Batch Sparge" and set the mashtype to
batchSparge. I was toying with a few things, and it seems that is exactly
what the DB upgrade/helpers are there to do.

So I will touch the db version, and add an upgrade step to do that.


On Thu, Feb 12, 2015 at 9:51 PM, Philip Lee <rocketman768@xxxxxxxxx> wrote:

> Is the code in question in your repo somewhere so we can have a look?
> On Thu, Feb 12, 2015 at 4:22 PM, mik firestone <mikfire@xxxxxxxxx> wrote:
>> All,
>> I am working on implementing a few new mash types. I have a questions.
>> I am making no changes to the database. The mash type is stored as a
>> string in the database, so it doesn't care what's in there. However, older
>> versions of brewtarget will dump core if they get a mash type they don't
>> recognize.
>> Should I bump the database version number, just to avoid this problem?
>> Thanks,
>> Mik
>> --
>> In a world of ninja v. pirate, I pilot a Gundam
>> --
>> Mailing list: https://launchpad.net/~brewtarget-devs
>> Post to     : brewtarget-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~brewtarget-devs
>> More help   : https://help.launchpad.net/ListHelp
> --
> Dr. Philip G. Lee
> www.linkedin.com/in/philipgreggorylee

In a world of ninja v. pirate, I pilot a Gundam