P_chandra_migrator/migrate.sh

20 lines
462 B
Bash
Raw Normal View History

2024-10-03 12:17:31 +00:00
#!/bin/bash
echo "Migrating Groups"
python3 -c 'import migrate_groups'
echo "Group migration completed."
echo "Migrating Users"
python3 -c 'import migrate_users'
echo "User migration completed."
echo "Migrating Subscriptions"
python3 -c 'import migrate_subscriptions'
echo "Subscription migration completed."
echo "Migrating Transactions"
python3 -c 'import migrate_transactions'
echo "Transaction migration completed."
echo "All migrations have been run."