Ported the upgrade framework from db.py to Environment.py
Authored by: jonas 2004-04-15
Parent: [r416]
Child: [r418]