from gratipay.wireup import db, env
from gratipay.models.team import migrate_all_tips

db = db(env())

if __name__ == '__main__':
    migrate_all_tips(db)

from gratipay.wireup import db, env
from gratipay.models.team.mixins.tip_migration import migrate_all_tips

db = db(env())

if __name__ == '__main__':
    migrate_all_tips(db)

Fix imports in tip migration script
Fix imports in tip migration script
