Kegbot Project
Kegbot Home » Kegbot Forums

KegBB

Kegbot Kegerator Project Forums

  • You are not logged in.

#1 May 3, 2010 09:33:07

Jallen81
From: Michigan
Registered: 2009-11-23
Posts: 23
Profile   Send e-mail  

Updates

When updating to new revisions, how do you update database tables and such?

Edited Jallen81 (May 3, 2010 09:33:07)

Offline

#2 May 3, 2010 18:59:46

geoffculp
From: Milwaukee, WI
Registered: 2006-07-26
Posts: 52
Profile   E-mail  

Updates

Jallen81
When updating to new revisions, how do you update database tables and such?


If there's a change to the db structure you'll want to run
kegbot_admin.py migrate
to handle the actual changes.

Recently there was a changeset submitted that required you to run a couple of migration commands.

Migrate to new beerdb table.
Note: Must migrate beerdb first, then pykeg:
kegbot_admin.py migrate pykeg.beerdb
kegbot_admin.py migrate pykeg.core


Cheers,
GeoffC

Edited geoffculp (May 3, 2010 18:59:46)

Offline

Board footer

Moderator control

Powered by DjangoBB