Herc
Herc
Explore posts from servers
DTDrizzle Team
Created by Herc on 2/22/2024 in #help
Drizzle 0.29.4 breaks neon connection
After upgrading to 0.29.4 I get the following type error: https://ts-error-translator.vercel.app/?error=IIJw5grgtgpgdgFwAQHsBmSEE8AOMkDkAcjCnAIoQwhYBiEcAxggJZkA8aAhgDYDOMADRJu-GAD4CSFnyRwUyLnz4swcLgCMe+BCiQ4uILrATVUGbHkIkylanQbM2cdhpQptXOMLceYXyQA6ACgkJAAVXBhZdH0QFDwQbEIEIzg+LicyKUN8FiYUKANWLRgQsLDIqwJ2UCMsAFkUABMYAHkAN2oQFlakGAAPUzhm2V9POCQAXhFeAWF6Hh4AJWiIHgQ+Tu7e-EHh0aRx-0mZ0QFxAAoARyoe6LaQWjgALiQbCjusAAV4qBkYJw5kJZmJhF4sOIANoAXSQAB8kJdLnxrjw3h87DR6ExWGQAJJwcJpDJZFx1LiNFrtLogHqtBbrFZrDZbWn0iQASmm4nepE+9kJxK8pLxcFhnOECU2AH43gAJcLhb7C9KZMVtHBivjsQJ63mIhitND5GDNblTXm-QoA3X6qQyOQKJBKFRqTTaTB6Sz4GoUqmtbZ03b9IbwQ7HLzTI7uCaMparPjrTZBjmhg5jWMnaORuBXW7UFgPJ6vPm2L7W-4CVxZrw+WveF1wSGwhFIlFojH8rEOXHOIUk9XOWp0ylNQPs3bx5lJ1mp3biC28zFfAciodkCVSrV8OVIRXK1Wi5ya7V2wIGpBGmAmuBmpdISsAvWBAjlCqVKIxDAGIwmaiyAQBb3FsJY5CMhDAUWoHPDkIB5AURRcCU2jvh+n7VMiqLomWArYo4YprmqZLsBC4LNouPK4T2RHHpuMLcoiK72E+1a5vWfh1k2LYwg6sjyIoyiqOopRepgUSEFhnbUV8OJkrRG4uGR3GUZaMmCkSg5khKbbMTQrGAucIJGeRPFvqE6EflUvp6T8fy2uxMacY2ELQrx0j8c6rrCR6OjehJBBSThtlyYRmnriRymuQ+tkKdpDG6d2Fb2dWJmgvMKmwuZlmWdZ1hJSxKWAo5jmuVlHlOoJboiZ6ujidUtkGUCYLpSCZW8WhOVWQFjVFTWzkcXGKl8ZVLpCe6ol1T6+XloVNqpcCwhpa52VdTleUELmI0CWN1W+WJ00EEZb5AA on this code:
import { neon } from "@neondatabase/serverless"
import { drizzle } from "drizzle-orm/neon-http"
import { schema } from "./schema"

const sql = neon(`${process.env.DATABASE_URL}`)
export const db = drizzle(sql, { schema })
import { neon } from "@neondatabase/serverless"
import { drizzle } from "drizzle-orm/neon-http"
import { schema } from "./schema"

const sql = neon(`${process.env.DATABASE_URL}`)
export const db = drizzle(sql, { schema })
2 replies