Some checks failed
CD Pipeline / build-and-deploy (push) Failing after 14m42s
checkfirst=True 只跳過 CREATE TABLE,SQLAlchemy 2.0 仍對 __table_args__ Index 物件發出獨立 CREATE INDEX → duplicate error。 改法:先 inspect 取得現有 tables,只對不存在的 table 呼叫 table.create(),index 永遠只隨新 table 建立,不再 duplicate。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>