# sqlalchemy.exc.ArgumentError: The 'type' argument of Column() should be a TypeEngine, not a <class 'str'>

- **ID:** `python/sqlalchemy-type-error-mapping`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Passing a string instead of a SQLAlchemy type object to Column.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **Use proper SQLAlchemy type.** (95% success)
   ```
   from sqlalchemy import Column, Integer, String
Column('id', Integer, primary_key=True)
   ```
2. **Check import statements.** (90% success)
   ```
   from sqlalchemy.types import Integer, String
   ```

## Dead Ends

- **Using string like 'Integer' as type.** — Must import and use Integer class. (90% fail)
- **Using type as positional argument incorrectly.** — Column expects type as first positional arg; wrong order causes error. (70% fail)
