chore(#782): 清理废弃文件 init-tables.sql / routers.py / api_docs.html #785

Merged
xiaoxia merged 1 commits from cleanup/remove-deprecated-files into develop 2026-07-23 22:34:54 +08:00
3 changed files with 0 additions and 22 deletions
BIN
View File
Binary file not shown.
-8
View File
@@ -1,8 +0,0 @@
from fastapi import APIRouter
router = APIRouter()
@router.get("/health")
def health():
return {"ok": True, "service": "api"}
-14
View File
@@ -1,14 +0,0 @@
-- Deprecated schema snapshot.
--
-- Runtime schema creation is currently owned by SQLAlchemy models in:
-- packages/adapters/sqlalchemy_impl/models.py
--
-- Do not apply this file to staging or production. It is retained only for
-- historical reference while the project migrates toward a proper Alembic flow.
-- Applying it would create columns such as assets.library_id/storage_key/mime_type
-- that conflict with the current runtime table shape.
DO $$
BEGIN
RAISE EXCEPTION 'init-tables.sql is deprecated. Use SQLAlchemy runtime schema initialization / future Alembic migrations instead.';
END $$;