Buckets:

download
raw
525 Bytes
#!/usr/bin/env python3
"""Initialize the database with clean tables."""
from __future__ import annotations
import os
import sys
from pathlib import Path
# Allow running as `uv run python scripts/init_db.py` from project root
sys.path.insert(0, str(Path(__file__).parent.parent / "src"))
os.environ.setdefault("DATABASE_URL", "sqlite:///./tradearena.db")
from tradearena.db.database import create_tables
print("Creating database tables...")
create_tables()
print("Database initialized successfully!")

Xet Storage Details

Size:
525 Bytes
·
Xet hash:
7c012707ff577e65f6cee0348f0ee5c15630cae02fe5e907bdf9d0f38ccccc53

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.