P_chandra_migrator/do_migrate.py

22 lines
566 B
Python

import migrate_groups
import migrate_users
import migrate_subscriptions
import migrate_transactions
def run_all_scripts():
print("Migrating Groups")
migrate_groups
print("Group migration completed.")
print("Migrating Users.")
migrate_users
print("User migration completed")
print("Migrating Subscription")
migrate_subscriptions
print("Subcription migration completed.")
print("Migrating transaction")
migrate_transactions
print("Transaction Migration completed")
if __name__ == "__main__":
run_all_scripts()