#8827·typeorm

No docs on inferred column types

Author: SimonCockxCreated Mar 29, 2022Updated Sep 16, 2026
Labelsdocumentationgood first issue

Documentation Issue

What was unclear or otherwise insufficient?

I cannot find information on which column type is used if there is no explicit type given in a @Column() decorator. Does a string result in varchar or text? If it's a varchar, with what length? Similar for other types.

Recommended Fix

Add a table explaining which column type is used for every possible TypeScript type (or what happens if no appropriate column type exists).

Are you willing to resolve this issue by submitting a Pull Request?

  • ✖️ Yes, I have the time, and I know how to start.
  • ✖️ Yes, I have the time, but I don't know how to start. I would need guidance.
  • ✖️ No, I don’t have the time, but I can support (using donations) development.
  • ✅ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.