hugo
DTDrizzle Team
•Created by hugo on 11/16/2023 in #help
Unable to generate migration for sqlite
Hello!
After upgrading to drizzle-kit 0.20.2 from 0.19.13 I can't generate migrations anymore. I'm using libsql and the error when running
is about postgres:
Any ideas? Did the command changed? I'm not using drizzle.config file
Thanks in advance!
My schema uses
If I try to downgrade to the working version, it won't allow me:
7 replies
DTDrizzle Team
•Created by hugo on 10/31/2023 in #help
[SOLVED] How to add new column?
Hello!
Any ideas how to add a new column to an existing table?
What I did so far:
1. Updated the schema to add a new column:
2. Generated migration files, and it did create the correct SQL statement, but for some reason I don't understand, it is not applicable:
3. Running the migration fails with:
I'm using
'@libsql/client'
connected to Turso.5 replies
DTDrizzle Team
•Created by hugo on 10/2/2023 in #help
Query vs Select
Hello!
I'm reading through the docs and absolutely loving Drizzle!
One thing is still not clear to me is when to use query (https://orm.drizzle.team/docs/rqb) vs using select (https://orm.drizzle.team/docs/select). Are there performance implications, am I'm missing some differences in behavior, or it's just matter of preference?
Thanks a lot!!
3 replies