We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drizzle-orm
v0.29.4
drizzle-kit
v0.20.14
when introspect a table which has columns including colon in its name, generated schema.ts raise error ts(2304) Cannot find name.
column name: Top:detected
Top:detected
output:
... top:detected: tinyint("Top:detected"), ...
error:
The name 'detected' was not found. ts(2304) (original: 名前 'detected' が見つかりません。ts(2304))
The name 'detected' was not found. ts(2304)
名前 'detected' が見つかりません。ts(2304)
if column name include colon, property name gonna be embraced by quotations.
No response
The text was updated successfully, but these errors were encountered:
I am using VSCode to temporarily address the issue by replacing the problematic sections with regular expressions.
RegExp: (\S*):(\S*): (\S*) Replace: "$1:$2": $3
(\S*):(\S*): (\S*)
"$1:$2": $3
Sorry, something went wrong.
This should be fixed in drizzle-kit@0.24.1 If you still encounter this issue, please reopen the ticket
drizzle-kit@0.24.1
No branches or pull requests
What version of
drizzle-orm
are you using?v0.29.4
What version of
drizzle-kit
are you using?v0.20.14
Describe the Bug
when introspect a table which has columns including colon in its name, generated schema.ts raise error ts(2304) Cannot find name.
example
column name:
Top:detected
output:
error:
The name 'detected' was not found. ts(2304)
(original:名前 'detected' が見つかりません。ts(2304)
)Expected behavior
if column name include colon, property name gonna be embraced by quotations.
Environment & setup
No response
The text was updated successfully, but these errors were encountered: