2024-06-29 07:31:37 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
echo $(pwd)
|
2024-01-08 22:01:12 +08:00
|
|
|
|
2024-06-29 07:31:37 +08:00
|
|
|
# Run the Python migration script
|
|
|
|
|
python3 litellm/proxy/prisma_migration.py
|
2024-01-08 22:01:12 +08:00
|
|
|
|
2024-06-29 07:31:37 +08:00
|
|
|
# Check if the Python script executed successfully
|
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
|
echo "Migration script ran successfully!"
|
|
|
|
|
else
|
|
|
|
|
echo "Migration script failed!"
|
2024-06-29 07:03:56 +08:00
|
|
|
exit 1
|
|
|
|
|
fi
|