Bridge legacy QuoteJudge database columns
This commit is contained in:
@@ -60,6 +60,11 @@ def test_full_stack_product_contract():
|
||||
|
||||
migrations = list((ROOT / "db" / "migrations").glob("*.sql"))
|
||||
assert migrations and all(path.read_text(encoding="utf-8").strip() for path in migrations)
|
||||
compatibility = (ROOT / "db" / "migrations" / "003_quotejudge_legacy_bridge.sql").read_text()
|
||||
assert "recommendation_vendor" in compatibility
|
||||
assert "tool_name" in compatibility
|
||||
assert "recommendation_vendor = EXCLUDED.recommendation_vendor" in source
|
||||
assert "tool_name, status, ok" in source
|
||||
|
||||
card = load_local_project(ROOT).agent_cls().card()
|
||||
skill_names = {skill.name for skill in card.skills}
|
||||
|
||||
Reference in New Issue
Block a user