Skip to content

The backend currently initializes tables on startup with create_all(). We already have Alembic in the repo, so schema management should move fully to migrations. #1

@bme2003

Description

@bme2003

Why

create_all() can hide schema drift and makes production boot behavior less predictable.

Proposed Change

  • Remove init_db() / create_all() from FastAPI startup
  • Document migration-first startup flow
  • Ensure local development still works cleanly with alembic upgrade head

Acceptance Criteria

  • App starts without calling create_all()
  • README reflects the new boot flow
  • Existing schema can be created through Alembic only

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions