wrap error.

This commit is contained in:
mike12345567 2025-03-12 17:52:04 +00:00
parent 356e129647
commit 998436c015
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ function generateSchema(
case FieldType.AUTO: case FieldType.AUTO:
case FieldType.JSON: case FieldType.JSON:
case FieldType.INTERNAL: case FieldType.INTERNAL:
throw `${column.type} is not a valid SQL type` throw new Error(`${column.type} is not a valid SQL type`)
default: default:
utils.unreachable(columnType) utils.unreachable(columnType)