CyberCipher
DTDrizzle Team
•Created by CyberCipher on 3/14/2025 in #help
How to run migrations in production environment?
I see.
12 replies
DTDrizzle Team
•Created by CyberCipher on 3/14/2025 in #help
How to run migrations in production environment?
I see.. is it OK to always run the
migrate
script every time I start app? it mostly just throw warning already exist skipping etc.. but it shouldn't cause any harm right? or should I not run it every time?12 replies
DTDrizzle Team
•Created by CyberCipher on 3/14/2025 in #help
How to run migrations in production environment?
So the
migrate
script I have ATM I need that to run before the svelte
app? and running that script will be my separate "command"..12 replies
DTDrizzle Team
•Created by CyberCipher on 3/14/2025 in #help
How to run migrations in production environment?
Can anyone help?
12 replies
DTDrizzle Team
•Created by CyberCipher on 3/14/2025 in #help
How to run migrations in production environment?
I would like to keep
migration
a separate command ran from script or something if possible.12 replies
DTDrizzle Team
•Created by CyberCipher on 3/14/2025 in #help
How to run migrations in production environment?
But reading from the post, it seems like they run migrations on their app start.. what does that mean exactly? like run all the code from
migrate.ts
when my app starts?12 replies
DTDrizzle Team
•Created by CyberCipher on 3/14/2025 in #help
How to run migrations in production environment?
I found this stackoverflow post,https://stackoverflow.com/questions/77877947/how-to-run-generate-migrate-in-production-on-a-vps-with-sqlite-database-using but the example link provided is dead so I can't what they do to achieve it.
12 replies
DTDrizzle Team
•Created by CyberCipher on 3/14/2025 in #help
How to run migrations in production environment?
now in production I have don't have
drizzle-kit
available as I have it installed as a dev
dependency.12 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
I see. I don't like this, it feels like a hack, I don't think this should be in a release but rather in a testing or dev branch. I think I'm gonna stick to
db.select()
.20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
Yes, I pass both.
20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
this makes more sense when reading the query as well.
20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
unless there is some benefit performance wise or something.. I think I'll stick with this.
20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
Is
db.query
worth it though? I always used db.select
but was trying out this recently, at first it seemed simple, but I think I'll stick with db.select
because complex queries like,
I don't know how you would do that with db.query
thing.20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
I didn't see any example in the post.
20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
this is not correct either..
20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
hmm?
20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
This works, I would like to
db.query
though if possible.
20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
can
db.query
do this kind of query? do I have to use db.select()
and leftJoin
or something?20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
I wanna get the all libraries for a user..
this doesn't work,
20 replies
DTDrizzle Team
•Created by CyberCipher on 11/22/2024 in #help
How to query join table with db.query syntax?
20 replies