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

  from gratipay.wireup import db, env
- from gratipay.models.team import migrate_all_tips
+ 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
## Code Before:
from gratipay.wireup import db, env
from gratipay.models.team import migrate_all_tips

db = db(env())

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

## Instruction:
Fix imports in tip migration script
## Code After:
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)
