Skip to main content
Glama
by hsgui
init_db.py494 B
from __future__ import annotations import sys from pathlib import Path ROOT_DIR = Path(__file__).resolve().parents[1] sys.path.insert(0, str(ROOT_DIR)) from app.core.database import Base, engine from app.models import Tag, WorkEntry # noqa: F401 - ensure metadata registration def init_db() -> None: _ = (Tag, WorkEntry) # Access to silence linters Base.metadata.create_all(bind=engine) if __name__ == "__main__": init_db() print("Database initialized at", engine.url)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hsgui/daily-work-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server