Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /1xn-labs_1xn-vmcp /backend /run_migrations.py
| #!/usr/bin/env python3 | |
| """ | |
| Manual migration runner for vMCP OSS version. | |
| Run this script to manually apply database migrations. | |
| """ | |
| import sys | |
| import os | |
| import logging | |
| # Add the src directory to the Python path | |
| sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) | |
| from vmcp.storage.migrations import run_migrations | |
| # Configure logging | |
| logging.basicConfig( | |
| level=logging.INFO, | |
| format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' | |
| ) | |
| if __name__ == "__main__": | |
| print("🔄 Running database migrations...") | |
| try: | |
| run_migrations() | |
| print("✅ Migrations completed successfully!") | |
| except Exception as e: | |
| print(f"❌ Migration failed: {e}") | |
| sys.exit(1) | |
Xet Storage Details
- Size:
- 725 Bytes
- Xet hash:
- ec486c49248ada06458771d75115be71f142b6baf899f0ea5bd5b3122042a473
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.