Closed gaspire closed 2 months ago
๐ @gaspire
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ ้ๅธธๆ่ฐขๆจๆไบค issueใๆไปฌไผๅฐฝๅฟซ่ฐๆฅๆญคไบ๏ผๅนถๅฐฝๅฟซๅๅคๆจใ ่ฏท็กฎไฟๆจๅทฒ็ปๆไพไบๅฐฝๅฏ่ฝๅค็่ๆฏไฟกๆฏใ
ไฝ ็ DB URL ้ ็ๆฏๅฅ
Bot detected the issue body's language is not English, translate it automatically. ๐ฏ๐ญ๐ป๐งโ๐คโ๐ง๐ซ๐ง๐ฟโ๐คโ๐ง๐ป๐ฉ๐พโ๐คโ๐จ๐ฟ๐ฌ๐ฟ
What does your DB URL match?
็จ็ๆฏ neon postgresql DATABASE_URL=postgresql://username:password@ep-rough-art-a1wri3ot.ap-southeast-1.aws.neon.tech/jy-chat?sslmode=require
Bot detected the issue body's language is not English, translate it automatically. ๐ฏ๐ญ๐ป๐งโ๐คโ๐ง๐ซ๐ง๐ฟโ๐คโ๐ง๐ป๐ฉ๐พโ๐คโ๐จ๐ฟ๐ฌ๐ฟ
Using neon postgresql
็จๆฌๅฐ็postgresql@15 ไนไธ่ก
Bot detected the issue body's language is not English, translate it automatically. ๐ฏ๐ญ๐ป๐งโ๐คโ๐ง๐ซ๐ง๐ฟโ๐คโ๐ง๐ป๐ฉ๐พโ๐คโ๐จ๐ฟ๐ฌ๐ฟ
It doesnโt work either with local postgresql@15
https://neon.tech/docs/guides/drizzle-migrations ๆ็ งไธ้ข็ๆๆกฃๅไบไฟฎๆน๏ผๅฏไปฅไบ
Bot detected the issue body's language is not English, translate it automatically. ๐ฏ๐ญ๐ป๐งโ๐คโ๐ง๐ซ๐ง๐ฟโ๐คโ๐ง๐ป๐ฉ๐พโ๐คโ๐จ๐ฟ๐ฌ๐ฟ
https://neon.tech/docs/guides/drizzle-migrations Modified according to the above document and itโs ok
ไฝฟ็จ azure็gpt4o๏ผ็้ขไธญไนๆฅ่ฟไธช่ฟ่กๆถ้่ฏฏใๅ ถไปๆจกๅๆญฃๅธธ
Bot detected the issue body's language is not English, translate it automatically. ๐ฏ๐ญ๐ป๐งโ๐คโ๐ง๐ซ๐ง๐ฟโ๐คโ๐ง๐ป๐ฉ๐พโ๐คโ๐จ๐ฟ๐ฌ๐ฟ
When using Azure's gpt4o, this runtime error is also reported in the interface. Other models are normal
@gaspire ๅฏ่ฝๆฏไฝ ็้พๆฅไธๆฏpooler ๆจกๅผๅฏผ่ด็
Bot detected the issue body's language is not English, translate it automatically. ๐ฏ๐ญ๐ป๐งโ๐คโ๐ง๐ซ๐ง๐ฟโ๐คโ๐ง๐ป๐ฉ๐พโ๐คโ๐จ๐ฟ๐ฌ๐ฟ
@gaspire It may be that your link is not in pooler mode.
โ @gaspire
This issue is closed, If you have any questions, you can comment and reply.\ ๆญค้ฎ้ขๅทฒ็ปๅ ณ้ญใๅฆๆๆจๆไปปไฝ้ฎ้ข๏ผๅฏไปฅ็่จๅนถๅๅคใ
๐ฆ Environment
Other
๐ Version
latest
๐ป Operating System
Other Linux
๐ Browser
Chrome
๐ Bug Description
ๆง่กpnpm build, ๆฅ้ Cannot read properties of undefined (reading 'migrate')
๐ท Recurrence Steps
No response
๐ฆ Expected Behavior
No response
๐ Additional Information
No response