- Remove executable permissions from configuration files (.editorconfig, .env.example, .gitignore) - Remove executable permissions from documentation files (README.md, LICENSE, SECURITY.md) - Remove executable permissions from web assets (HTML, CSS, JS files) - Remove executable permissions from data files (JSON, SQL, YAML, requirements.txt) - Remove executable permissions from source code files across all apps - Add executable permissions to Python
20 lines
371 B
Python
Executable File
20 lines
371 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Initialize database for AITBC Coordinator API
|
|
"""
|
|
import asyncio
|
|
import sys
|
|
import os
|
|
|
|
# Add src to path
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
|
|
|
|
from app.database import init_db
|
|
|
|
async def main():
|
|
await init_db()
|
|
print("Database initialized successfully")
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(main())
|