In this course, we will build an inventory management CLI that defines models with SQLAlchemy, applies migrations step-by-step with Alembic, and saves inventory and update history to SQLite. Through ...
FlaskでDBを扱うために、SQLAlchemyの公式チュートリアルを写経していた。 create_engine から始めて SELECT / UPDATE まで進む間に、5回エラーで止まった。 どれも「よくあるつまずき」だったので、原因と直し方をまとめておく。 環境は Windows + Python + SQLite。 0.