Derock
Explore posts from serversDTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
trying that exact same approach with drizzle-orm doesn't work:
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
was able to get this working in a very hacky way:
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
ok so they are actual transactions, https://discord.com/channels/1043890932593987624/1240832420945596416/1240958720033165354
still tryna figure out why this isn't working then
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
this errors with
cannot commit - no transaction is active
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
are drizzle transactions not real database transactions?
8 replies
DTDrizzle Team
•Created by Derock on 5/15/2024 in #help
need help with drizzle transactions and foreign key constraints
bump
8 replies
DTDrizzle Team
•Created by Derock on 4/23/2024 in #help
SQLite: set fk constraint to be "DEFERRABLE INITIALLY DEFERRED"
opened an issue: https://github.com/drizzle-team/drizzle-orm/issues/2252
3 replies
DTDrizzle Team
•Created by Derock on 4/23/2024 in #help
SQLite: set fk constraint to be "DEFERRABLE INITIALLY DEFERRED"
bump
3 replies
DTDrizzle Team
•Created by Derock on 4/27/2024 in #help
ts: Object literal may only specify known properties except the property is known
oh turns out
webhook.token
is of string | null
but ive created it as a non-nullable column. dont know why the ts error was so misleading5 replies
DTDrizzle Team
•Created by Derock on 4/27/2024 in #help
ts: Object literal may only specify known properties except the property is known
nevermind again, its not expecting an array
5 replies
DTDrizzle Team
•Created by Derock on 4/27/2024 in #help
ts: Object literal may only specify known properties except the property is known
just noticed the little
[]
at the end5 replies
DTDrizzle Team
•Created by Derock on 4/27/2024 in #help
ts: Object literal may only specify known properties except the property is known
nvm im dumb its wanting an array not one object
5 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
actually ignore this, my stack trace is being very weird -- code completely unrelated to the issue for some reason is part of the trace.
19 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
looking closer at the stack trace, i think the error is coming from somewhere else in my code:
19 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
i deleted the old database and created a brand new one (I'm using better-sqlite3)
the only difference is that the old database also has a table called
__old_push_sessions
while the new one has no __old_push_
tables19 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
searching
__ AND push
comes up with nothing good either19 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
so im very confused as to where the __old_push gets added in
19 replies
DTDrizzle Team
•Created by Derock on 12/19/2023 in #help
`no such table: main.__old_push_projects` after db push
i cant even find in the drizzle-orm source code any references to
__old_push
or __old
and searching for __ NOT __drizzle
comes up with nothing useful (using github search)19 replies
DTDrizzle Team
•Created by louis on 10/2/2023 in #help
No such table: main.__old_push_[TABLENAME]
@Louis / @stan
Did either of you make an GitHub issue for this?
I'm running into the same problem (https://discord.com/channels/1043890932593987624/1186793412549148753) and if you haven't made an issue yet, I'll go ahead and make one.
77 replies