def migration_07_2014():
  from mongoengine import connect
  from dcmetrometrics.common.globals import * 
  connect('MetroEscalators', alias = "default", host=MONGODB_HOST, port=MONGODB_PORT, username=MONGODB_USERNAME, password=MONGODB_PASSWORD)
  connect("MetroEscalatorsDO", alias = "do", host=MONGODB_HOST, port=MONGODB_PORT,  username=MONGODB_USERNAME, password=MONGODB_PASSWORD)
  

  #denormalize_unit_statuses()
  dbUtils.set_unit_key_statuses()
def migration_03_2014():
  #denormalize_unit_statuses()
  dbUtils.set_unit_key_statuses()