$ gravitar check
gravitar: drift detected — 4 findings
error missing_column orders.discount_code
model declares column, no migration adds it
→ add a migration: alembic revision --autogenerate -m "add orders.discount_code"
id: 02877b4cf308
error type_mismatch orders.total
model: numeric(10,2)
migration: integer
→ decide which is authoritative, then align the other
id: 700e2cb770df
error nullability_mismatch users.email
model: nullable=False
migration: nullable=True
→ decide which is authoritative, then align the other
id: 3c51a1e3756a
warning broken_chain
revision '0001' contains raw SQL (op.execute) that Gravitar cannot analyze; any table may be affected
→ review this migration by hand to confirm it doesn't introduce undetected drift
id: af49fe4e6557
summary: 3 errors, 1 warnings across 2 tables