Blitz
Blitz
Explore posts from servers
HHono
Created by Blitz on 8/1/2024 in #help
Adding Cron!
Hello I'm working on a new project using Hono and I'm actually having a ton of fun. The thing is I need to add Cron Jobs to this project and while with other frameworks it's pretty straight forward with official documentation in Hono there is no docs about it. Can anyone help with how it should be achieved?
4 replies
DTDrizzle Team
Created by Blitz on 1/8/2024 in #help
Migrations problem
Hi! I'm trying to perform migration in my app. Drizzle-kit doesn't connect to my postgres that is working on docker. My migrate() function is however working partially. It connects but before doing any meaningful work it drops with error from postgres.
/home/blitz/kids-app/kids-app-nest/node_modules/postgres/cjs/src/connection.js:790
const error = Errors.postgres(parseError(x))
^
PostgresError: syntax error at or near "on"
at ErrorResponse (/home/blitz/kids-app/kids-app-nest/node_modules/postgres/cjs/src/connection.js:790:26)
at handle (/home/blitz/kids-app/kids-app-nest/node_modules/postgres/cjs/src/connection.js:476:6)
at Socket.data (/home/blitz/kids-app/kids-app-nest/node_modules/postgres/cjs/src/connection.js:315:9)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Socket.Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
/home/blitz/kids-app/kids-app-nest/node_modules/postgres/cjs/src/connection.js:790
const error = Errors.postgres(parseError(x))
^
PostgresError: syntax error at or near "on"
at ErrorResponse (/home/blitz/kids-app/kids-app-nest/node_modules/postgres/cjs/src/connection.js:790:26)
at handle (/home/blitz/kids-app/kids-app-nest/node_modules/postgres/cjs/src/connection.js:476:6)
at Socket.data (/home/blitz/kids-app/kids-app-nest/node_modules/postgres/cjs/src/connection.js:315:9)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Socket.Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
3 replies