hexcowboy
Explore posts from serversDTDrizzle Team
•Created by hexcowboy on 1/24/2024 in #help
not getting proper type inference on any queries
i'm trying to get
jobs
with companies
using drizzle queries
but for some reason the type of jobs
does not have the company
property: Property 'company' does not exist on type '...'
i have made sure to define the relation in my schema file
using drizzle-orm 0.29.3
2 replies
DTDrizzle Team
•Created by hexcowboy on 1/16/2024 in #help
multiple joins of same table in one query?
i want to do this query
basically i have one
inner join
on users
and also a left join
on users. but the resulting type makes all fields never
when i remove either of the joins on users
, i get the correct types3 replies
I haven't been able to connect to any Postgres database all day
I've been creating and destroying instances of Postgres to try to get my connection to work.
I've tried connecting to it via
psql
cli, railway
cli, and TablePlus. All the connections time out.6 replies
build is not updating
i'm trying to debug an issue in my app on railway. i decided to add a console log to see what the issue was, but every time i rebuild the console log does not show up. i also tried another commit with a console log earlier and it doesn't show up in my deployment logs.
i believe my build is not actually pulling the latest commit
6 replies
Expose environment variables on build
I'm building my Rust project on Railway using a custom Dockerfile. My build requires
DATABASE_URL
to be set during the build stage since it checks queries at compile-time.
How do I expose my environment variables when my app is building?7 replies
(Rust) Cargo Workspace app failing to build with "value from workspace hasn't been set"
My app is a Cargo workspace with three separate apps. My build command is
cargo build --release --bin server
which works fine when I clone the repo locally and run from the workspace root.
When I try to deploy on railway, the build vaguely fails with the message:
9 replies