#!/usr/bin/env python
"""Initialize real-time control state tables."""

from pathlib import Path

from dotenv import load_dotenv

from storage import initialize_schema


ROOT = Path(__file__).resolve().parent


if __name__ == "__main__":
    load_dotenv(ROOT.parent / "auto_put_ad_mini" / ".env", override=False)
    load_dotenv(Path.cwd() / ".env", override=False)
    initialize_schema()
    print("Real-time control schema initialized.")
