3 years ago
Changing to DATABASE_URL=${DATABASE_URL} fixes it. I believe it has something to do with resolving names inside the build container.
17 Replies
3 years ago
e421520a-200c-4fe1-843f-c8308f0813fc
3 years ago
can i ask what you are doing at buildtime with sqlx @alex
3 years ago
I'd like to note that the private network is not available during build, I assume sqlx is connecting to the database for some reason or another during build. I shall leave the rest to milo
3 years ago
Normal sqlx macro query validation
3 years ago
If pn isn’t available at build then that’s fine
3 years ago
I recommend not using the macros, im pretty sure they are vulnerable to some sort of attack, i would just use the functions
3 years ago
Oh
3 years ago
that’s what i do atleast, and im happy w it
3 years ago
Ok I’ll see
3 years ago
soon ™️ (soon = at some point)
3 years ago
3 years ago
Wait how do I mark it as correct
3 years ago
you dont have perms
3 years ago
It’s my own stupid thread
3 years ago
3 years ago
you can't be trusted
3 years ago
Bro what