Paul
Paul
DTDrizzle Team
Created by Paul on 1/17/2024 in #help
Retrieving ids when in a batch?
As a workaround I can create the categoryId before the batch and utilise the imageId from the images array.
But I'll leave this open in case there is an answer...
2 replies
DTDrizzle Team
Created by Paul on 1/11/2024 in #help
Type issue when creating self join
Nice, thank you so much for taking the time to answer my question! πŸ˜„
3 replies
DTDrizzle Team
Created by Paul on 1/6/2024 in #help
SyntaxError: Invalid or unexpected token when trying to push:
5 replies
DTDrizzle Team
Created by Paul on 1/6/2024 in #help
SyntaxError: Invalid or unexpected token when trying to push:
I had to actually delete the .DS_Store file
paul@Pauls-MacBook-Pro db % pnpm drizzle-kit push:sqlite
No config path provided, using default path
Reading config file '/Users/paul/development/src/golf_cart/packages/db/drizzle.config.ts'
drizzle-kit: v0.20.10
drizzle-orm: v0.29.3

[βœ“] Changes applied
paul@Pauls-MacBook-Pro db % pnpm drizzle-kit push:sqlite
No config path provided, using default path
Reading config file '/Users/paul/development/src/golf_cart/packages/db/drizzle.config.ts'
drizzle-kit: v0.20.10
drizzle-orm: v0.29.3

[βœ“] Changes applied
5 replies
DTDrizzle Team
Created by Paul on 1/6/2024 in #help
SyntaxError: Invalid or unexpected token when trying to push:
Is this the issue?
/Users/paul/development/src/golf_cart/packages/db/src/schema/.DS_Store:1
Is it trying to parse this file?
5 replies
DTDrizzle Team
Created by Paul on 1/6/2024 in #help
SyntaxError: Invalid or unexpected token when trying to push:
If I do a check:
paul@Pauls-MacBook-Pro db % pnpm drizzle-kit check:sqlite
drizzle-kit: v0.20.10
drizzle-orm: v0.29.3

No config path provided, using default 'drizzle.config.ts'
Reading config file '/Users/paul/development/src/golf_cart/packages/db/drizzle.config.ts'
Everything's fine 🐢πŸ”₯
paul@Pauls-MacBook-Pro db % pnpm drizzle-kit check:sqlite
drizzle-kit: v0.20.10
drizzle-orm: v0.29.3

No config path provided, using default 'drizzle.config.ts'
Reading config file '/Users/paul/development/src/golf_cart/packages/db/drizzle.config.ts'
Everything's fine 🐢πŸ”₯
πŸ€·β€β™‚οΈ
5 replies