
from setup.create_teams import migrate_teams
from setup.create_divisions import create_divisions


if __name__ == '__main__':
    # migrating teams from json file to database
    migrate_teams(simulation=True)
    # creating divisions from division configuration file
    create_divisions(simulation=True)


from setup.create_teams import migrate_teams
from setup.create_divisions import create_divisions
from setup.create_players import migrate_players


if __name__ == '__main__':
    # migrating teams from json file to database
    migrate_teams(simulation=True)
    # creating divisions from division configuration file
    create_divisions(simulation=True)
    # migrating players from json file to database
    migrate_players(simulation=True)

Include player data migration in setup
Include player data migration in setup

  
  from setup.create_teams import migrate_teams
  from setup.create_divisions import create_divisions
+ from setup.create_players import migrate_players
  
  
  if __name__ == '__main__':
      # migrating teams from json file to database
      migrate_teams(simulation=True)
      # creating divisions from division configuration file
      create_divisions(simulation=True)
+     # migrating players from json file to database
+     migrate_players(simulation=True)
  
Include player data migration in setup
## Code Before:

from setup.create_teams import migrate_teams
from setup.create_divisions import create_divisions


if __name__ == '__main__':
    # migrating teams from json file to database
    migrate_teams(simulation=True)
    # creating divisions from division configuration file
    create_divisions(simulation=True)

## Instruction:
Include player data migration in setup
## Code After:

from setup.create_teams import migrate_teams
from setup.create_divisions import create_divisions
from setup.create_players import migrate_players


if __name__ == '__main__':
    # migrating teams from json file to database
    migrate_teams(simulation=True)
    # creating divisions from division configuration file
    create_divisions(simulation=True)
    # migrating players from json file to database
    migrate_players(simulation=True)
