Drizzle-kit introspect:pg returned malformed schema.ts file

No description
7 Replies
Dat Tran
Dat TranOP12mo ago
No description
Dat Tran
Dat TranOP12mo ago
No description
Dat Tran
Dat TranOP12mo ago
What is the correct syntax for these?
joogie
joogie12mo ago
also getting the same issue and i had to manually change them
No description
No description
Dat Tran
Dat TranOP12mo ago
Yeah, I want to manually change them but just have no idea what is it supposed to look like when correct.
oke
oke12mo ago
I think the mesageText line is correct. Maybe the issue is in your messageDate line, with the "AT TIME ZONE" thing, which seems like it should be wrapped in the sql function, as "AT TIME ZONE" is not valid Typescript
Angelelz
Angelelz12mo ago
You'll need to manually wrap whatever is returned in the default with sql`` Instrospection works with trivial values like string and numbers, but on stuff like this it struggles
Want results from more Discord servers?
Add your server