Added missing Int24 (medium int) SQL type.
Reverted version to simplify pull request.